Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.97ms] Passed 4 tests
An overview of server-side resources used by X3M Site-Wide Ninja Tweaks
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.95 ▼8.06 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.44 ▼19.45 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.50 ▼2.83 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.08 ▼17.52 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.83 ▲0.96 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for X3M Site-Wide Ninja Tweaks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,779 ▼7 | 13.96 ▼0.59 | 1.68 ▼0.34 | 39.00 ▼3.87 |
Dashboard /wp-admin | 2,187 ▲7 | 5.47 ▼0.16 | 79.67 ▼15.80 | 39.31 ▼7.46 |
Posts /wp-admin/edit.php | 2,092 ▼5 | 1.95 ▼0.01 | 32.29 ▼2.35 | 34.12 ▼11.24 |
Add New Post /wp-admin/post-new.php | 1,520 ▼8 | 23.75 ▲0.35 | 670.05 ▼12.59 | 58.74 ▼7.61 |
Media Library /wp-admin/upload.php | 1,392 ▼8 | 4.17 ▲0.03 | 95.06 ▼3.23 | 43.22 ▼3.52 |
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 detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/x3m-site-wide-ninjatweaks/X3m-SiteWide-NinjaTweaks.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
x3m-site-wide-ninjatweaks/X3m-SiteWide-NinjaTweaks.php 77% from 13 tests
Analyzing the main PHP file in "X3M Site-Wide Ninja Tweaks" version 1.0 bld.20130509a...
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 194 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("x3m-site-wide-ninjatweaks.php" instead of "X3m-SiteWide-NinjaTweaks.php")
- Version: Plugin version number should only contain digits separated by dots (ex. "1.0.3" instead of "1.0 bld.20130509a...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected11 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 9 | 34 | 11 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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 Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin