Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/microdata-about/microdata-about.php+211
Methods with the same name as their class will not be constructors in a future version of PHP; MDaddress has a deprecated constructor
Server metrics [RAM: ▼1.85MB] [CPU: ▼52.59ms] Passed 4 tests
Analyzing server-side resources used by Microdata About
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.33 | 4.64 ▼36.31 |
Dashboard /wp-admin | 2.16 ▼1.15 | 6.88 ▼43.04 |
Posts /wp-admin/edit.php | 2.16 ▼1.20 | 6.62 ▼40.78 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.73 | 6.08 ▼90.23 |
Media Library /wp-admin/upload.php | 2.16 ▼1.07 | 5.70 ▼29.28 |
Microdata About /wp-admin/plugins.php?page=customize-bc-microdata | 2.17 | 8.27 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_mdaddress |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Microdata About
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲51 | 14.58 ▲0.21 | 1.66 ▼0.19 | 40.85 ▼3.07 |
Dashboard /wp-admin | 2,203 ▲18 | 5.84 ▼0.05 | 96.13 ▼26.67 | 37.80 ▼7.18 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.24 ▲0.23 | 33.15 ▼4.40 | 29.70 ▼3.10 |
Add New Post /wp-admin/post-new.php | 1,515 ▼4 | 17.71 ▼5.83 | 634.50 ▲29.70 | 33.24 ▼25.32 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.28 ▲0.07 | 122.96 ▲24.43 | 46.36 ▲5.02 |
Microdata About /wp-admin/plugins.php?page=customize-bc-microdata | 886 | 1.76 | 24.29 | 25.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/microdata-about/microdata-about.php+211
Methods with the same name as their class will not be constructors in a future version of PHP; MDaddress has a deprecated constructor
- The uninstall procedure has failed, leaving 7 options in the database
- widget_mdaddress
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/plugins.php?page=customize-bc-microdata
- > Deprecated in wp-content/plugins/microdata-about/microdata-about.php+211
Methods with the same name as their class will not be constructors in a future version of PHP; MDaddress has a deprecated constructor
- > GET request to /wp-admin/plugins.php?page=customize-bc-microdata
- > Deprecated in wp-content/plugins/microdata-about/microdata-about.php+255
Function create_function() is deprecated
- > GET request to /wp-admin/plugins.php?page=customize-bc-microdata
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in MDaddress is deprecated since version 4.3.0! Use __construct() instead.
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 take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/microdata-about/microdata-about.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/plugins.php?page=customize-bc-microdata
- > Network (severe)
wp-content/plugins/microdata-about/js/my-javascript.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: microdata, about
microdata-about/microdata-about.php 85% from 13 tests
The entry point to "Microdata About" version 1.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Domain Path: Use only dashes and lowercase characters for the domain path ("microdata-about")
- Domain Path: The domain path should be prefixed with a forward slash character ("/microdata-about")
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 plugin429 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 38 | 23 | 196 |
PO File | 2 | 62 | 62 | 170 |
CSS | 1 | 11 | 3 | 63 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.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
No PNG files were detected