Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼3.25ms] Passed 4 tests
An overview of server-side resources used by Manifold Google Maps
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 47.89 ▲8.74 |
Dashboard /wp-admin | 3.52 ▲0.18 | 51.15 ▼12.88 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 53.57 ▲5.44 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 89.31 ▼7.80 |
Media Library /wp-admin/upload.php | 3.44 ▲0.22 | 39.25 ▲2.25 |
Settings /wp-admin/edit.php?post_type=marker&page=manifold-google-maps | 3.41 | 49.12 |
Add New Marker /wp-admin/post-new.php?post_type=marker | 3.52 | 55.02 |
All Markers /wp-admin/edit.php?post_type=marker | 3.49 | 39.75 |
Maps /wp-admin/edit-tags.php?taxonomy=map&post_type=marker | 3.44 | 37.59 |
Server storage [IO: ▲4.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 87 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Manifold Google Maps
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲208 | 14.45 ▲0.10 | 31.33 ▲29.67 | 41.32 ▼1.11 |
Dashboard /wp-admin | 2,241 ▲61 | 5.69 ▲0.04 | 91.92 ▼0.69 | 40.29 ▼3.28 |
Posts /wp-admin/edit.php | 2,149 ▲49 | 2.07 ▲0.03 | 43.99 ▲3.93 | 35.81 ▼0.57 |
Add New Post /wp-admin/post-new.php | 1,566 ▲40 | 23.76 ▲0.26 | 674.57 ▼8.83 | 53.15 ▼9.94 |
Media Library /wp-admin/upload.php | 1,446 ▲46 | 4.25 ▲0.03 | 99.49 ▼10.99 | 45.97 ▼2.82 |
Settings /wp-admin/edit.php?post_type=marker&page=manifold-google-maps | 898 | 1.69 | 39.47 | 42.54 |
Add New Marker /wp-admin/post-new.php?post_type=marker | 1,851 | 3.74 | 68.65 | 32.27 |
All Markers /wp-admin/edit.php?post_type=marker | 1,128 | 2.02 | 34.83 | 35.09 |
Maps /wp-admin/edit-tags.php?taxonomy=map&post_type=marker | 1,539 | 2.35 | 28.96 | 38.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/manifold-google-maps/admin/partials/manifold-google-maps-admin-display.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/manifold-google-maps/public/partials/manifold-google-maps-public-display.php:58
- > PHP Notice
Undefined variable: atts in wp-content/plugins/manifold-google-maps/public/partials/manifold-google-maps-public-display.php on line 18
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/manifold-google-maps/public/partials/manifold-google-maps-public-display.php on line 18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=map&post_type=marker
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: google is not defined" "ReferenceError: google is not defined\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/manifold-google-maps/admin/js/manifold-google-maps-admin.js?ver=1.3:106:6)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=map&post_type=marker
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught ReferenceError: google is not defined
- > GET request to /wp-admin/post-new.php?post_type=marker
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: google is not defined" "ReferenceError: google is not defined\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/manifold-google-maps/admin/js/manifold-google-maps-admin.js?ver=1.3:106:6)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/post-new.php?post_type=marker
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught ReferenceError: google is not defined
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: google maps, maps, multiple maps, markers, multiple markers
manifold-google-maps/manifold-google-maps.php Passed 13 tests
The primary PHP file in "Manifold Google Maps" version 1.3 is used by WordPress to initiate all plugin functionality
126 characters long description:
The most effortless, valuable and effective google map plugin! Effectively make a boundless number of Google Maps and markers.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin2,255 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 216 | 155 | 1,089 |
PHP | 12 | 173 | 676 | 727 |
CSS | 3 | 86 | 32 | 439 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 6.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 1.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 2 | 4.17% |
▷ Public methods | 43 | 89.58% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 10.42% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
37 PNG files occupy 2.58MB with 1.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/prettyPhoto/default/sprite_x.png | 1.07KB | 0.11KB | ▼ 89.79% |
admin/images/default-pin.png | 3.13KB | 2.77KB | ▼ 11.40% |
admin/images/prettyPhoto/default/sprite_next.png | 1.33KB | 0.39KB | ▼ 70.69% |
admin/images/retro.png | 194.66KB | 112.02KB | ▼ 42.46% |
admin/images/prettyPhoto/light_square/sprite.png | 3.42KB | 2.13KB | ▼ 37.67% |