Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲6.67MB] [CPU: ▲38.70ms] 50% from 4 tests
Server-side resources used by Interactive Geo Maps
Please take the time to fix the following items
- RAM: Try to keep total memory usage under 10MB (currently 10.23MB on /wp-admin/admin.php?page=freemius)
- Extra RAM: Try to keep extra memory usage under 5MB (currently 6.67MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.88 ▲6.41 | 81.23 ▲38.87 |
Dashboard /wp-admin | 10.06 ▲6.71 | 94.21 ▲20.60 |
Posts /wp-admin/edit.php | 10.18 ▲6.81 | 101.66 ▲52.70 |
Add New Post /wp-admin/post-new.php | 12.73 ▲6.83 | 140.81 ▲42.61 |
Media Library /wp-admin/upload.php | 9.98 ▲6.75 | 87.62 ▲55.16 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 10.23 | 76.55 |
Server storage [IO: ▲11.98MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 716 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
fs_debug_mode |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
fs_active_plugins |
interactive-maps |
fs_accounts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Interactive Geo Maps
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲91 | 14.34 ▼0.37 | 1.59 ▼0.08 | 26.75 ▼17.88 |
Dashboard /wp-admin | 2,229 ▲51 | 5.54 ▼0.13 | 97.18 ▼17.79 | 46.02 ▼2.12 |
Posts /wp-admin/edit.php | 2,135 ▲32 | 2.03 ▲0.03 | 40.71 ▲3.36 | 39.51 ▲1.77 |
Add New Post /wp-admin/post-new.php | 6,193 ▲4,666 | 19.84 ▼3.34 | 860.29 ▲225.16 | 52.24 ▲4.04 |
Media Library /wp-admin/upload.php | 1,437 ▲40 | 4.17 ▼0.06 | 99.06 ▼0.81 | 47.20 ▲5.81 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,099 | 1.65 | 26.07 | 26.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/interactive-geo-maps/vendor/freemius/wordpress-sdk/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 10 options
- theysaidso_admin_options
- widget_recent-comments
- fs_debug_mode
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- fs_active_plugins
- fs_accounts
- widget_theysaidso_widget
- interactive-maps
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 83× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/interactive-geo-maps/vendor/hassankhan/config/tests/Writer/PropertiesTest.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Saltus\\WP\\Framework\\Infrastructure\\Service\\Actionable' not found in wp-content/plugins/interactive-geo-maps/vendor/saltus/framework/src/Features/DragAndDrop/UpdateMenuDragAndDrop.php:10
- > PHP Fatal error
Uncaught Error: Class 'Noodlehaus\\AbstractConfig' not found in wp-content/plugins/interactive-geo-maps/vendor/hassankhan/config/src/Config.php:21
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/interactive-geo-maps/vendor/hassankhan/config/tests/Parser/PropertiesTest.php:8
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/interactive-geo-maps/vendor/hassankhan/config/tests/FileParser/PhpTest.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Saltus\\WP\\Framework\\Infrastructure\\Container\\Container' not found in wp-content/plugins/interactive-geo-maps/vendor/saltus/framework/src/Infrastructure/Container/ServiceContainer.php:29
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/interactive-geo-maps/vendor/hassankhan/config/tests/Parser/JsonTest.php:11
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/interactive-geo-maps/vendor/hassankhan/config/tests/Writer/JsonTest.php:8
- > PHP Fatal error
Uncaught Error: Class 'Saltus\\WP\\Framework\\Models\\BaseModel' not found in wp-content/plugins/interactive-geo-maps/vendor/saltus/framework/src/Models/Taxonomy.php:4
- > PHP Fatal error
Uncaught Error: Class 'Noodlehaus\\Writer\\AbstractWriter' not found in wp-content/plugins/interactive-geo-maps/vendor/hassankhan/config/src/Writer/Serialize.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: us map, travel map, world map, interactive map, map
interactive-geo-maps/interactive-geo-maps.php 92% from 13 tests
The main file in "Interactive Geo Maps" v. 1.6.9.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 293 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected147,678 lines of code in 562 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 345 | 13,545 | 23,258 | 58,157 |
JavaScript | 39 | 8,075 | 3,721 | 33,545 |
PO File | 35 | 13,002 | 14,593 | 28,734 |
Sass | 60 | 2,078 | 95 | 11,794 |
CSS | 44 | 1,111 | 1,066 | 11,555 |
JSON | 11 | 0 | 0 | 2,332 |
Markdown | 7 | 262 | 0 | 654 |
TypeScript | 2 | 61 | 81 | 362 |
HTML | 1 | 48 | 0 | 314 |
XML | 7 | 34 | 57 | 180 |
INI | 5 | 4 | 0 | 27 |
YAML | 3 | 0 | 0 | 21 |
SVG | 3 | 0 | 0 | 3 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 29.51 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 34 | |
Interfaces | 22 | |
Traits | 0 | |
Classes | 218 | |
▷ Abstract classes | 9 | 4.13% |
▷ Concrete classes | 209 | 95.87% |
▷ Final classes | 14 | 6.70% |
Methods | 2,132 | |
▷ Static methods | 331 | 15.53% |
▷ Public methods | 1,613 | 75.66% |
▷ Protected methods | 95 | 4.46% |
▷ Private methods | 424 | 19.89% |
Functions | 147 | |
▷ Named functions | 128 | 87.07% |
▷ Anonymous functions | 19 | 12.93% |
Constants | 161 | |
▷ Global constants | 98 | 60.87% |
▷ Class constants | 63 | 39.13% |
▷ Public constants | 63 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
18 compressed PNG files occupy 0.60MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/imgs/world_map_us_divided_states-600x300.png | 29.99KB | 30.21KB | 0.00% |
assets/imgs/live_filter_map_wordpress-600x300.png | 36.11KB | 36.16KB | 0.00% |
assets/imgs/map_heatmap_wordpress_usmap-600x300.png | 54.03KB | 54.04KB | 0.00% |
assets/imgs/icon-128x128.png | 5.35KB | 4.49KB | ▼ 16.13% |
assets/imgs/interactive_europe_map_with_legend_wordpress-600x300.png | 24.46KB | 24.46KB | 0.00% |