Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.32ms] Passed 4 tests
A check of server-side resources used by Don't Muck My Markup
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.28 ▼12.77 |
Dashboard /wp-admin | 3.33 ▲0.03 | 54.40 ▼1.48 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 53.52 ▼3.70 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 88.70 ▼19.34 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 38.26 ▲1.45 |
Don't Muck My Markup /wp-admin/tools.php?page=dont-muck-my-markup | 3.22 | 34.50 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Don't Muck My Markup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.18 | 1.87 ▲0.05 | 43.34 ▼6.84 |
Dashboard /wp-admin | 2,202 ▲25 | 5.49 ▼0.17 | 90.51 ▼10.87 | 40.28 ▼7.47 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.00 ▼0.00 | 35.96 ▼0.75 | 36.07 ▼2.82 |
Add New Post /wp-admin/post-new.php | 6,222 ▲4,696 | 25.95 ▲2.07 | 927.57 ▲232.87 | 54.94 ▼12.57 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.20 ▲0.01 | 102.65 ▲0.92 | 41.52 ▼2.72 |
Don't Muck My Markup /wp-admin/tools.php?page=dont-muck-my-markup | 816 | 2.02 | 27.62 | 28.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'DMMM' not found in wp-content/plugins/dont-muck-my-markup/class/view.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/dont-muck-my-markup/dont-muck-my-markup.php:36
- > PHP Fatal error
Uncaught Error: Class 'DMMM' not found in wp-content/plugins/dont-muck-my-markup/class/admin.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% 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
4 plugin tags: wpautop, disable auto formatting, remove markup, default formatting
dont-muck-my-markup/dont-muck-my-markup.php 92% from 13 tests
The main PHP script in "Don't Muck My Markup" version 1.8 is automatically included on every request by WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 291 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin130 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 30 | 49 | 130 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 5 | 45.45% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin