Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲4.72MB] [CPU: ▲29.24ms] Passed 4 tests
This is a short check of server-side resources used by Geo Mashup
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.35 ▲0.89 | 56.42 ▲13.66 |
Dashboard /wp-admin | 9.96 ▲6.61 | 85.73 ▲18.77 |
Posts /wp-admin/edit.php | 9.96 ▲6.60 | 93.23 ▲43.52 |
Add New Post /wp-admin/post-new.php | 10.69 ▲4.80 | 145.69 ▲41.00 |
Media Library /wp-admin/upload.php | 9.96 ▲6.73 | 76.06 ▲44.06 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.96 | 71.01 |
Geo Mashup /wp-admin/options-general.php?page=geo-mashup/geo-mashup.php | 9.96 | 71.14 |
Server storage [IO: ▲6.62MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 490 new files
Database: 3 new tables, 11 new options
New tables |
---|
wp_geo_mashup_location_relationships |
wp_geo_mashup_locations |
wp_geo_mashup_administrative_names |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
geo_mashup_db_version |
fs_active_plugins |
widget_theysaidso_widget |
geo_mashup_activation_log |
fs_debug_mode |
theysaidso_admin_options |
can_compress_scripts |
fs_accounts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Geo Mashup
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.27 ▼0.12 | 1.79 ▼0.03 | 30.96 ▼12.92 |
Dashboard /wp-admin | 2,221 ▲41 | 5.65 ▲0.08 | 93.83 ▼0.83 | 42.78 ▲4.03 |
Posts /wp-admin/edit.php | 2,124 ▲27 | 2.02 ▲0.06 | 40.52 ▲1.01 | 39.11 ▲5.69 |
Add New Post /wp-admin/post-new.php | 1,770 ▲244 | 21.72 ▼1.56 | 723.87 ▲68.47 | 66.57 ▲13.50 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.19 ▲0.02 | 94.99 ▼8.49 | 49.11 ▲1.46 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,078 | 1.82 | 24.45 | 28.81 |
Geo Mashup /wp-admin/options-general.php?page=geo-mashup/geo-mashup.php | 986 | 1.89 | 29.17 | 66.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/geo-mashup/vendor/freemius/wordpress-sdk/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- The uninstall procedure failed, leaving 3 tables in the database
- wp_geo_mashup_administrative_names
- wp_geo_mashup_locations
- wp_geo_mashup_location_relationships
- This plugin does not fully uninstall, leaving 9 options in the database
- fs_active_plugins
- fs_accounts
- fs_debug_mode
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 31× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'GeoMashup\\Options\\SingleMap' not found in wp-content/plugins/geo-mashup/php/Options/GlobalMap.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/geo-mashup/geo-mashup-ui-managers.php:429
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/geo-mashup/shortcodes.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/geo-mashup/geo-mashup.php:253
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/geo-mashup/php/Widgets/Search.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/geo-mashup/default-templates/info-window.php:16
- > PHP Notice
Undefined variable: geo_mashup_search in wp-content/plugins/geo-mashup/default-templates/nearby-list.php on line 32
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/geo-mashup/default-templates/search-results.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function status_header() in wp-content/plugins/geo-mashup/geo-query.php:266
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/geo-mashup/default-templates/search-form.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid URI found ("")
geo-mashup/geo-mashup.php 85% from 13 tests
The main PHP file in "Geo Mashup" ver. 1.13.12 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Description: Please don't use more than 140 characters for the plugin description (currently 153 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin76,142 lines of code in 320 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 185 | 9,519 | 20,735 | 41,803 |
PO File | 28 | 10,170 | 12,440 | 23,029 |
JavaScript | 57 | 1,894 | 3,575 | 9,836 |
CSS | 27 | 156 | 100 | 932 |
SVG | 20 | 0 | 0 | 288 |
Markdown | 1 | 68 | 0 | 214 |
JSON | 2 | 0 | 0 | 40 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 56.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 101 | |
▷ Abstract classes | 4 | 3.96% |
▷ Concrete classes | 97 | 96.04% |
▷ Final classes | 0 | 0.00% |
Methods | 1,624 | |
▷ Static methods | 394 | 24.26% |
▷ Public methods | 1,167 | 71.86% |
▷ Protected methods | 33 | 2.03% |
▷ Private methods | 424 | 26.11% |
Functions | 106 | |
▷ Named functions | 103 | 97.17% |
▷ Anonymous functions | 3 | 2.83% |
Constants | 154 | |
▷ Global constants | 105 | 68.18% |
▷ Class constants | 49 | 31.82% |
▷ Public constants | 49 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
75 compressed PNG files occupy 0.23MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
images/mm_20_black.png | 0.30KB | 0.38KB | 0.00% |
images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
images/mm_20_aqua.png | 0.55KB | 0.58KB | 0.00% |