Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼7.72ms] Passed 4 tests
Server-side resources used by MapMap
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 26.22 ▼14.98 |
Dashboard /wp-admin | 3.44 ▲0.09 | 42.04 ▼17.28 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 46.04 ▲5.05 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 98.02 ▼2.18 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 32.65 ▲3.58 |
MapMap /wp-admin/options-general.php?page=mapmap | 3.33 | 30.05 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for MapMap
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲141 | 14.21 ▼0.14 | 25.99 ▲24.14 | 36.36 ▼8.36 |
Dashboard /wp-admin | 2,202 ▲22 | 5.59 ▼0.05 | 96.11 ▲4.84 | 42.95 ▲4.25 |
Posts /wp-admin/edit.php | 2,086 ▼14 | 2.04 ▲0.03 | 33.67 ▼7.40 | 31.84 ▼4.31 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 23.12 ▲5.14 | 639.57 ▲20.29 | 51.20 ▼20.25 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.39 ▲0.17 | 92.66 ▼8.75 | 40.91 ▼1.74 |
MapMap /wp-admin/options-general.php?page=mapmap | 909 | 2.01 | 25.10 | 29.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/mapmap/mapmap.php+58
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: google map wizard, multiple maps, map shortcode, map widget, popup map
mapmap/mapmap.php 92% from 13 tests
The main file in "MapMap" v. 1.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: Please don't use more than 140 characters for the plugin description (currently 189 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin708 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 153 | 125 | 659 |
CSS | 1 | 7 | 0 | 49 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 110.00 |
▷ Minimum class complexity | 110.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 5.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 58.33% |
▷ Protected methods | 10 | 41.67% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin