Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.32ms] Passed 4 tests
A check of server-side resources used by CC-MU-Plugins-Loader
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.99 ▼2.19 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.67 ▲1.67 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.56 ▼5.73 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 79.11 ▼11.02 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.99 ▲4.09 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for CC-MU-Plugins-Loader
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.58 ▼0.72 | 4.49 ▲2.66 | 39.81 ▼4.53 |
Dashboard /wp-admin | 2,209 ▲18 | 4.84 ▼0.08 | 107.30 ▼0.76 | 41.01 ▼3.29 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.05 ▲0.01 | 38.89 ▼3.95 | 36.98 ▼1.40 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 22.89 ▼0.33 | 624.37 ▼17.23 | 49.69 ▼3.90 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.29 ▲0.07 | 100.11 ▼0.27 | 40.53 ▼6.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: Screenshot #1 (**CC-MU-Plugins-Loader** - Visit the 'Plugins > Must-Use' to see all loaded and activated MU Plugins.) image required
cc-mu-plugins-loader/loader.php 77% from 13 tests
The main PHP script in "CC-MU-Plugins-Loader" version 1.0.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("cc-mu-plugins-loader.php" instead of "loader.php")
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("/")
- Domain Path: Prefix the domain path with a forward slash character ("//")
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 plugin78 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 23 | 26 | 52 |
JSON | 1 | 0 | 0 | 26 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 50.00% |
▷ Protected methods | 3 | 50.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 29.26KB | 12.01KB | ▼ 58.95% |