Skip to content

Instantly share code, notes, and snippets.

@nicomen
Last active February 4, 2016 15:32
Show Gist options
  • Save nicomen/6192e429e0bf20b85b74 to your computer and use it in GitHub Desktop.
Save nicomen/6192e429e0bf20b85b74 to your computer and use it in GitHub Desktop.
nicolasm@tipsy:/projects/Reisegiganten $ cloc libraries backend --by-file
523 text files.
476 unique files.
7534 files ignored.
http://cloc.sourceforge.net v 1.60 T=1.30 s (267.0 files/s, 58196.2 lines/s)
------------------------------------------------------------------------------------------------------------------------------
File blank comment code
------------------------------------------------------------------------------------------------------------------------------
libraries/t/Supplier/API/apollo_hotel_test_data_hotel-id_328870.xml 6 0 1847
libraries/RG/Destination.pm 834 346 1488
libraries/t/rg_general_tools.t 33 6 1243
libraries/test.xml 0 0 1154
libraries/RG/Content/Wordpress/Guide.pm 421 314 1046
libraries/RG/Supplier/Flight/Momondo.pm 297 71 875
libraries/RG/Hotel.pm 407 167 866
libraries/t/Supplier/SupplierBase.t 42 23 796
libraries/t/model/rg_destination.t 15 0 771
libraries/RG/GeonamesImport.pm 320 156 757
libraries/RG/Supplier/SupplierBase.pm 342 295 748
backend/Reisegiganten/Makefile 210 106 696
libraries/RG/I18N.pm 316 135 620
backend/Reisegiganten/lib/Reisegiganten/Controller/Admin/Services.pm 275 98 605
backend/Reisegiganten/inc/Module/Install/Metadata.pm 85 48 589
libraries/Makefile 210 104 589
libraries/bootstrap/dbs/rg/000-init.sql 79 120 569
libraries/RG/Supplier/MetaExtraction.pm 178 38 525
libraries/RG/Weather.pm 248 127 504
libraries/t/rg_organization.t 15 0 484
backend/Reisegiganten/lib/RG/Catalyst/AdminConfig.pm 204 85 455
libraries/RG/Supplier/Hotel/Expedia.pm 172 75 440
libraries/etc/solr/charter/solrconfig.xml 314 1105 430
libraries/RG/Store/NoSQL.pm 223 81 408
libraries/RG/Charter/Search.pm 215 145 407
libraries/RG/Organization.pm 223 74 402
libraries/bootstrap/setup.pl 114 73 395
libraries/etc/solr/destination/solrconfig.xml 306 1086 395
libraries/RG/DBI/SQL.pm 214 134 385
libraries/bootstrap/setup.pl.save 112 73 381
libraries/RG/User.pm 197 64 378
libraries/bootstrap/importjobs/importguides.pl 156 163 355
libraries/RG/Cron.pm 181 81 351
libraries/RG/DestinationAdmin.pm 156 70 350
libraries/RG/Log.pm 196 98 339
backend/Reisegiganten/inc/Module/Install/Makefile.pm 53 49 316
backend/Reisegiganten/inc/Module/Install.pm 82 77 315
libraries/RG/CDN.pm 174 138 308
backend/Reisegiganten/lib/RG/Catalyst/AdminConfig/SQL.pm 129 31 305
libraries/RG/Content/Injection.pm 152 78 302
libraries/RG/DateTools.pm 160 69 300
libraries/RG/Engine/Solr.pm 167 72 286
libraries/t/Supplier/API/travelize_hotel_test_data.xml 10 0 279
libraries/RG/Supplier/APITools.pm 137 44 259
libraries/t/Supplier/API/detur_hotel_test_data.xml 6 0 250
libraries/RG/Config.pm 160 72 249
libraries/RG/Session.pm 136 70 241
backend/daemons/service-server.pl 129 67 236
backend/Reisegiganten/lib/RG/Catalyst/Tools.pm 156 51 235
backend/Reisegiganten/lib/Catalyst/Plugin/Static/Simple/Sass.pm 156 291 234
libraries/RG/Supplier/API/Apollo.pm 111 85 234
libraries/RG/Travel/Toplist.pm 129 46 233
libraries/RG/Supplier/API/TravelBook.pm 95 46 227
libraries/RG/Supplier.pm 129 34 222
libraries/bootstrap/importjobs/import_old_destination.pl 87 88 215
libraries/RG/Content/Wordpress/Content.pm 99 52 214
libraries/RG/Supplier/API/AirTours.pm 77 55 210
libraries/RG/Google/Analytics.pm 117 37 210
libraries/bootstrap/dbs/rgcms_campaign/00-init.sql 27 45 209
libraries/bootstrap/dbs/rgcms_hotel/00-init.sql 27 45 209
libraries/bootstrap/dbs/rgcms_travel/00-init.sql 27 45 209
libraries/bootstrap/dbs/rgcms_content/00-init.sql 27 45 209
libraries/t/Supplier/API/AirTours_hotel_test_data.xml 0 0 208
libraries/t/data/xml_tools_test_data.xml 0 0 203
libraries/RG/Service.pm 121 69 203
libraries/RG/Supplier/API/TUI.pm 87 69 201
libraries/t/rg_datetools.t 54 16 198
libraries/RG/Charter/Index.pm 108 67 197
libraries/RG/Flight.pm 125 19 185
libraries/RG/Daemon.pm 116 91 183
libraries/etc/solr/charter/schema.xml 84 277 181
libraries/RG/Supplier/API/Travelize.pm 69 56 176
backend/Reisegiganten/lib/Reisegiganten/Controller/Services/Destinations.pm 124 87 173
libraries/t/rg_systemconfig.t 43 0 173
libraries/RG/BasePackage.pm 116 36 172
libraries/RG/DBI.pm 101 77 172
libraries/bootstrap/bootstrap.pl 42 7 172
libraries/t/destination/01-hierarchy.t 39 22 171
libraries/RG/XMLTools.pm 95 45 166
libraries/RG/Supplier/API/Nazar.pm 69 40 164
libraries/RG/Supplier/API/Detur.pm 69 52 161
backend/Reisegiganten/lib/Reisegiganten/Controller/Services/Air/Momondo.pm 101 12 153
libraries/RG/Supplier/API/ThomasCook.pm 67 57 151
backend/daemons/crisis.pl 66 44 148
libraries/MYMETA.yml 0 0 147
libraries/RG/General/Tools.pm 81 40 147
libraries/t/destination/01-tree.t 40 38 147
libraries/META.yml 0 0 143
libraries/t/solr/01-index.t 39 23 141
libraries/etc/solr/destination/schema.xml 76 245 140
libraries/RG/Event/Subscribe.pm 83 48 138
libraries/t/Supplier/API/AirTours_index_test_data.xml 0 0 137
libraries/RG/FunctionCache.pm 87 76 135
libraries/Makefile.PL 8 28 134
libraries/t/destination/01-tree-with-hotel.t 32 17 133
libraries/RG/Content/Wordpress.pm 121 13 133
libraries/author_tests/benchmark_method_resolution.t 58 8 131
libraries/RG/UserAgent.pm 35 3 129
libraries/RG/Supplier/API/Tourpaq.pm 60 42 125
libraries/RG/Google/Authenticate.pm 46 24 123
libraries/RG/Supplier/API/Langley.pm 57 29 119
libraries/t/hotel.t 35 31 119
backend/Reisegiganten/report.xml 0 0 116
libraries/t/destination/01-dest.t 40 17 116
backend/Reisegiganten/lib/Reisegiganten/Controller/Services/TopList.pm 51 18 116
libraries/RG/Model/Destination.pm 80 33 116
backend/Reisegiganten/lib/Reisegiganten/Controller/Services/Content.pm 62 39 115
libraries/t/Supplier/API/Nazar_index_test_data.xml 5 0 113
backend/Reisegiganten/lib/RG/Catalyst/AdminConfig/Config.pm 72 29 112
libraries/t/wordpress.t 12 4 107
backend/services/workers/DestinationImport.pm 51 15 107
libraries/t/log/01-log.t 34 4 105
backend/Reisegiganten/inc/Module/Install/Can.pm 27 23 104
libraries/RG/GeoNames.pm 70 24 100
backend/Reisegiganten/lib/Reisegiganten/Controller/Services/Charter.pm 54 57 97
backend/Reisegiganten/lib/Reisegiganten/Controller/Admin.pm 205 454 92
libraries/t/Supplier/API/APITestBase.pm 47 8 90
backend/Reisegiganten/rg_daemons 39 15 87
libraries/t/Supplier/Flight/momondo/01-search_post.t 31 12 84
libraries/t/destination/01-indexed-search-ancestor-names.t 33 7 84
backend/Reisegiganten/MYMETA.yml 0 0 82
libraries/RG/Model/DestMeta.pm 66 23 80
libraries/t/destination/01-indexed-search.t 28 18 80
libraries/t/cdn.t 30 20 79
libraries/RG/Model/DestTranslation.pm 66 23 79
libraries/t/charter_search.t 22 9 78
backend/Reisegiganten/META.yml 0 0 78
libraries/t/rg_basepackage.t 24 7 78
backend/Reisegiganten/rg-web01.sql 0 0 78
backend/Reisegiganten/lib/Catalyst/ActionRole/FunctionCache.pm 71 76 78
libraries/t/Supplier/Flight/momondo/01-search.t 23 24 76
libraries/RG/Event/Publish.pm 51 43 76
backend/Reisegiganten/inc/Module/Install/Fetch.pm 15 3 75
backend/Reisegiganten/lib/Catalyst/Plugin/I18N/RG.pm 47 23 75
backend/Reisegiganten/lib/Catalyst/ActionRole/UserRoleCheck.pm 64 62 75
libraries/t/Supplier/APITools.t 20 9 75
backend/Reisegiganten/qasql1.sql 0 0 73
libraries/RG/SystemConfig.pm 36 32 70
libraries/blib/lib/test3.pl 33 23 69
libraries/RG/Model/DestRel.pm 55 23 67
libraries/RG/Model/Organization.pm 25 1 66
libraries/bootstrap/importjobs/import_supplier_images.pl 29 25 66
libraries/RG/Supplier/API/Solfaktor.pm 46 16 65
backend/Reisegiganten/lib/Reisegiganten/View/Web.pm 40 13 65
backend/Reisegiganten/lib/Reisegiganten.pm 43 51 64
backend/Reisegiganten/Makefile.PL 6 3 63
backend/Reisegiganten/lib/Reisegiganten/Controller/Services/Supplier.pm 47 21 63
libraries/t/solr/01-dest-tree-cnt.t 36 37 63
libraries/t/Supplier/API/langley_index_se.xml 0 0 61
libraries/t/Supplier/Charter/Apollo_SE.t 17 12 61
libraries/t/destination/01-dest-rel.t 24 14 60
libraries/t/geonames/01-import-list.pl 13 11 59
libraries/RG/LegacyMeta.pm 30 12 58
backend/Reisegiganten/lib/Catalyst/Plugin/Session/Store/RG.pm 37 2 58
backend/Reisegiganten/sqlite.sql 0 0 58
libraries/t/Supplier/API/Apollo.t 19 16 57
libraries/t/Supplier/API/TravelBook.t 22 11 56
libraries/bin/list_destinations 12 0 56
libraries/t/destination_admin/01-search.t 11 10 56
libraries/t/destination/01-getdest.t 21 10 56
libraries/RG/Model.pm 52 31 55
backend/Reisegiganten/destination.sql 7 12 54
libraries/t/Supplier/API/Travelize.t 17 12 54
backend/daemons/charter_indexer.pl 32 26 54
libraries/t/Supplier/API/TUI.t 21 13 53
libraries/RG/Memcached.pm 57 34 52
libraries/t/Supplier/Charter/Turkietresor_SE.t 15 9 52
backend/Reisegiganten/inc/Module/Install/Base.pm 22 9 52
libraries/RG/Organization/Query.pm 48 35 52
libraries/t/Supplier/Charter/CharterTestBase.pm 28 1 49
libraries/bootstrap/dbs/rgcms_campaign/10-data.sql 27 45 48
libraries/bootstrap/dbs/rgcms_hotel/10-data.sql 27 45 48
libraries/bootstrap/dbs/rgcms_travel/10-data.sql 27 45 47
libraries/bootstrap/dbs/rgcms_content/10-data.sql 27 45 47
backend/Reisegiganten/dest_translation.sql 7 12 47
backend/Reisegiganten/inc/Module/Install/Win32.pm 15 2 47
libraries/t/Supplier/API/ThomasCook.t 15 11 47
backend/Reisegiganten/cronjob.sql 7 12 47
libraries/t/Supplier/API/Nazar.t 16 11 46
libraries/t/Supplier/Charter/Nazar_SE.t 14 5 45
backend/Reisegiganten/inc/Module/Install/WriteAll.pm 11 7 45
libraries/t/supplier.t 20 8 44
libraries/etc/solr/charter/doc-add-example.xml 5 1 44
libraries/t/Supplier/MetaExtraction.t 22 14 44
backend/Reisegiganten/dest_meta.sql 7 12 43
libraries/t/Supplier/Charter/Ving_SE.t 14 7 43
libraries/t/geonames/01-search.t 9 11 43
libraries/t/solr/01-traverse-tree.t 8 1 42
libraries/t/Supplier/Charter/Fritidsresor_SE.t 13 7 42
libraries/t/Supplier/API/travelize_index_test_data.xml 0 0 42
libraries/RG/Supplier/Charter/Apollo_NO.pm 29 13 41
backend/Reisegiganten/dest_supplier.sql 7 12 41
libraries/t/Supplier/API/Langley.t 14 15 41
libraries/RG/Supplier/APIBase.pm 25 20 40
libraries/RG/Supplier/Charter/Apollo_FI.pm 30 22 40
libraries/RG/Supplier/Charter/Apollo_SE.pm 29 21 40
libraries/t/Supplier/Charter/Langley_SE.t 10 10 40
libraries/RG/Supplier/Charter/Apollo_DK.pm 28 13 40
backend/Reisegiganten/lib/Reisegiganten/Controller/Root.pm 32 15 40
libraries/RG/Cache.pm 48 31 39
libraries/RG/Supplier/Charter/Spies_DK.pm 24 12 39
libraries/RG/Supplier/Charter/Ving_SE.pm 25 12 39
libraries/RG/Supplier/Charter/Detur_SE.pm 24 12 39
libraries/RG/Supplier/Charter/Ving_NO.pm 26 12 39
libraries/RG/Supplier/Charter/Detur_NO.pm 25 13 38
libraries/RG/Supplier/Charter/Fritidsresor_SE.pm 25 12 38
libraries/RG/Supplier/Charter/Langley_DK.pm 25 12 38
libraries/RG/Supplier/Charter/Turistrejser_DK.pm 28 15 38
libraries/RG/Supplier/Charter/Scandjet_SE.pm 25 10 38
libraries/t/geonames/01-import.t 26 12 38
libraries/t/destination/01-traverse-list.t 11 8 38
libraries/RG/Supplier/Charter/Langley_SE.pm 25 12 38
libraries/RG/Supplier/Charter/Langley_NO.pm 25 12 38
libraries/RG/Supplier/Charter/Startour_DK.pm 24 12 38
libraries/RG/Supplier/Charter/Solresor_SE.pm 26 17 38
libraries/RG/Supplier/Charter/Startour_NO.pm 24 12 38
libraries/bootstrap/dbs/rg/020-config.sql 2 2 37
libraries/RG/Supplier/Charter/Turkietresor_SE.pm 26 12 37
libraries/etc/solr/charter/enumsConfig.xml 0 1 37
backend/daemons/cronrunner.pl 15 8 37
libraries/t/Supplier/API/Tourpaq.t 15 12 37
libraries/RG/Supplier/Charter/Tyrkiareiser_NO.pm 27 12 37
libraries/RG/Supplier/Charter/Detur_DK.pm 26 13 37
libraries/t/xmlTools.t 12 3 37
libraries/RG/Supplier/Charter/Tjareborg_FI.pm 23 12 37
libraries/t/Supplier/Flight/momondo/02-cal.t 12 9 37
backend/Reisegiganten/dest_rel.sql 7 12 37
libraries/t/Supplier/API/AirTours.t 15 11 37
backend/Reisegiganten/t/10-misc.t 9 0 36
libraries/t/Supplier/Charter/SunTours_DK.t 11 9 36
libraries/t/travel/toplist.t 15 3 36
libraries/t/Supplier/Charter/SunCharter_DK.t 11 9 36
libraries/t/Supplier/API/Detur.t 15 9 36
libraries/dest_translation_type.sql 7 12 35
libraries/t/Supplier/Charter/Detur_SE.t 11 5 35
libraries/RG/Supplier/Charter/AirTours_SE.pm 27 18 35
libraries/t/Supplier/Charter/AirTours_SE.t 12 7 35
backend/Reisegiganten/dest_type.sql 7 12 35
libraries/RG/Supplier/Charter/Nazar_DK.pm 26 19 34
libraries/RG/Model/DestType.pm 40 27 34
libraries/RG/Supplier/Charter/SunCharter_DK.pm 25 19 34
libraries/RG/Model/DestTranslationType.pm 40 27 34
libraries/RG/Supplier/Charter/Nazar_FI.pm 26 19 34
libraries/RG/Model/DestMetaType.pm 40 27 34
libraries/bootstrap/dbs/rg/050-destination.sql 3 8 34
libraries/RG/Supplier/Charter/Nazar_SE.pm 25 19 34
libraries/RG/Supplier/Charter/Nazar_NO.pm 26 19 34
libraries/bin/show_destination 13 2 34
libraries/t/destination_admin/01-get-destinations.t 15 11 34
libraries/RG/Context.pm 21 2 33
libraries/RG/MIME/Lite.pm 20 13 33
libraries/RG/Supplier/Charter/Solfaktor_NO.pm 23 12 33
libraries/t/Supplier/API/Solfaktor.t 12 11 33
libraries/RG/Supplier/Charter/Solfaktor_DK.pm 23 12 33
libraries/RG/Supplier/Charter/SunTours_DK.pm 24 20 33
libraries/RG/Model/Country.pm 44 28 32
libraries/t/Supplier/API/langley_lms_se.xml 0 0 32
libraries/t/Supplier/Flight/momondo/01-cal.t 9 6 32
libraries/RG/Supplier/Charter/Solfaktor_SE.pm 22 12 32
libraries/t/Supplier/Charter/Solfaktor_SE.t 10 9 31
libraries/bootstrap/dbs/rg/000-rg.sql 5 5 30
libraries/bin/list_orgs 9 0 30
backend/Reisegiganten/lib/Reisegiganten/Controller/Services/Weather.pm 26 13 30
backend/services/workers/HotelImport.pm 20 13 29
backend/services/workers/CharterImport.pm 20 13 29
libraries/t/Supplier/Flight/momondo/01-tricks.t 11 3 29
backend/services/workers/Ping.pm 13 43 28
libraries/t/Supplier/API/langley_hotel_se.xml 0 0 28
libraries/t/I18N/create.t 12 0 27
backend/Reisegiganten/lib/Reisegiganten/Controller/Content.pm 30 20 27
libraries/etc/solr/destination/add_dest_example.xml 0 0 26
libraries/RG/Supplier/Flight/Helper.pm 14 1 26
libraries/t/Supplier/SupplierStructure.t 8 1 25
libraries/RG/Role/WithLogger.pm 19 9 25
backend/Reisegiganten/lib/Catalyst/ActionRole/LoadLimited.pm 30 29 25
libraries/RG/Service/Base.pm 14 11 25
libraries/t/Supplier/Flight/momondo/01-airport.t 13 4 24
libraries/RG/TermsList.pm 26 21 24
libraries/bootstrap/dbs/rg/060-old_prepackaged_stats.sql 5 9 23
libraries/blib/lib/mc_list_keys.pl 6 0 23
libraries/bootstrap/dbs/rg/060-old_prepackaged_locations.sql 5 9 21
libraries/t/weather.t 14 0 20
libraries/t/Supplier/run_import.pl 12 8 18
libraries/RG/Content/Wordpress/Base.pm 23 19 18
libraries/t/geonames/dest-service-import-full.pl.orig 11 11 18
libraries/etc/cron/charter_import.pl 9 11 18
libraries/t/solr/10-get_available_solr_instances.t 6 0 17
libraries/index.html 2 0 17
libraries/RG/Charter/Search/Legacy/App.pm 11 0 17
backend/Reisegiganten/lib/Reisegiganten/Controller/Partials.pm 19 9 17
libraries/t/Supplier/test_cron.pl 11 10 16
libraries/t/country.t 9 0 16
libraries/t/geonames/01-fetch-url.t 10 12 16
libraries/t/geonames/01-fetchfile.t 10 9 16
libraries/t/geonames/dest-service-import-incr.pl 9 11 15
libraries/bootstrap/dump.sh 4 0 15
libraries/t/Supplier/API/Apollo_SE_objects.xml 0 0 15
libraries/etc/cron/destination_import.pl 13 10 15
libraries/t/model/rg_organization.t 10 0 15
libraries/t/geonames/dest-service-import-full.pl 12 14 15
libraries/t/solr/01-index-all.t 8 6 14
libraries/blib/lib/memtest.pl 5 0 14
libraries/t/wordpress_content.t 11 0 14
libraries/t/rg_useragent.t 7 0 13
backend/Reisegiganten/lib/RG/Catalyst/Controller.pm 10 10 13
libraries/t/rg_google_authenticate.t 7 0 13
libraries/t/I18N/import_from_templates.t 6 0 12
libraries/RG/Role/WithContext.pm 4 0 12
backend/Reisegiganten/t/controller_Service_Content.t 7 0 12
libraries/t/model/rg_destrel.t 7 0 12
libraries/t/user.t 8 0 11
libraries/t/geonames/01-import-deletes.d 7 -1 10
libraries/xt/00-perltidy.t 4 0 10
libraries/.drone.yml 3 0 10
backend/Reisegiganten/cronjobs.sql 1 5 10
backend/Reisegiganten/t/03podcoverage.t 4 0 10
backend/Reisegiganten/lib/Reisegiganten/View/JSON.pm 16 12 10
libraries/bootstrap/dbs/rg/101-add_destination_indexing_cronjob.sql 1 1 10
libraries/blib/lib/text-thread.pl 4 0 10
backend/Reisegiganten/t/~syntax.t 6 0 9
libraries/t/Supplier/APIBase.t 4 0 9
libraries/t/geonames/01-import-weather.pl 7 0 9
backend/Reisegiganten/lib/Catalyst/Plugin/CORS.pm 5 0 9
libraries/blib/lib/parse_verda.pl 3 0 9
libraries/test.pl 5 0 9
libraries/RG/Supplier/Charter.pm 5 0 8
libraries/t/~syntax.t 5 0 8
backend/Reisegiganten/t/02pod.t 2 0 8
libraries/t/destination/01-index_dest.t 9 11 8
backend/Reisegiganten/script/reisegiganten_server.pl 17 36 7
backend/Reisegiganten/t/01app.t 3 0 7
backend/Reisegiganten/script/reisegiganten_create.pl 18 36 6
backend/Reisegiganten/lib/Reisegiganten/View/XML.pm 14 11 6
libraries/bootstrap/dbs/rg/040-users.sql 3 3 6
libraries/etc/cron/test_cron.pl 2 10 6
libraries/xt/00-perlcritic.t 4 0 6
libraries/bootstrap/migrate.pl 3 0 5
libraries/t/Supplier/API/travelize_destinations_test_data.xml 0 23 5
backend/Reisegiganten/script/reisegiganten_fastcgi.pl 14 30 4
libraries/blib/lib/test2.pl 1 0 4
backend/Reisegiganten/script/reisegiganten_cgi.pl 14 12 4
backend/Reisegiganten/script/reisegiganten_test.pl 16 20 4
backend/Reisegiganten/t/data/frontend/templates/partials/foo.html 0 0 1
backend/Reisegiganten/t/data/frontend/templates/partials/foo.js 0 0 1
libraries/bootstrap/dbs/rg/102-TripadvisorID_changed_to_varchar.sql 1 1 1
libraries/t/Supplier/API/Nazar_hotel_test_data.xml 0 0 1
------------------------------------------------------------------------------------------------------------------------------
SUM: 17455 12460 45504
------------------------------------------------------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment