Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.43ms] Passed 4 tests
A check of server-side resources used by Boldmapper
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 47.36 ▲4.33 |
Dashboard /wp-admin | 3.38 ▲0.03 | 59.20 ▼3.60 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 70.17 ▲11.70 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 115.09 ▲8.34 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 43.61 ▼10.79 |
Boldmapper /wp-admin/options-general.php?page=boldmapper | 3.27 | 36.50 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 46 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_boldmapper_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Boldmapper
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲54 | 14.61 ▲0.26 | 2.07 ▼0.14 | 48.79 ▼6.04 |
Dashboard /wp-admin | 2,200 ▲23 | 5.56 ▼0.08 | 105.14 ▲7.47 | 47.75 ▲4.73 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 2.03 ▲0.05 | 47.89 ▲6.95 | 43.21 ▲3.52 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.15 ▲0.14 | 737.22 ▲8.63 | 63.86 ▲10.80 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.23 ▲0.07 | 108.19 ▼39.12 | 53.98 ▼7.02 |
Boldmapper /wp-admin/options-general.php?page=boldmapper | 821 | 1.99 | 28.36 | 27.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_boldmapper_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=boldmapper
- > Notice in wp-content/plugins/basemapper/admin/partials/boldmapper-admin-display.php+26
Trying to access array offset on value of type bool
SRP 0% 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
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/basemapper/public/partials/boldmapper-public-display.php
- > /wp-content/plugins/basemapper/trunk/public/partials/boldmapper-public-display.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/basemapper/trunk/includes/class-boldmapper-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/basemapper/trunk/admin/partials/boldmapper-admin-display.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/basemapper/admin/partials/boldmapper-admin-display.php:18
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/basemapper/includes/class-boldmapper-widget.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: You are using too many tags: 13 tag instead of maximum 10
basemapper/boldmapper.php 85% from 13 tests
The principal PHP file in "Boldmapper" v. 2.0.5 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("basemapper.php" instead of "boldmapper.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
No dangerous file extensions were detected267 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 160 | 585 | 261 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 4 | 6.06% |
▷ Public methods | 56 | 84.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 15.15% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
PNG images were not found in this plugin