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.09MB] [CPU: ▼3.82ms] Passed 4 tests
Analyzing server-side resources used by Network Plugin Auditor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 40.69 ▼2.82 |
Dashboard /wp-admin | 3.39 ▲0.09 | 47.76 ▼3.58 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 53.30 ▲3.33 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 86.15 ▼10.61 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 36.73 ▲1.75 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Network Plugin Auditor: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.67 ▼0.97 | 4.49 ▲2.66 | 43.63 ▼2.45 |
Dashboard /wp-admin | 2,209 ▲35 | 4.85 ▲0.00 | 100.38 ▼14.45 | 37.35 ▼9.89 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.03 | 40.27 ▲0.89 | 34.56 ▲1.01 |
Add New Post /wp-admin/post-new.php | 1,543 ▼1 | 23.52 ▲4.97 | 676.14 ▲31.03 | 56.14 ▼4.01 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.19 ▼0.01 | 104.47 ▲9.58 | 46.63 ▲3.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/network-plugin-auditor/network-plugin-auditor.php:607
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Plugin Active on the Network Plugins page), #2 (Plugin Active on the Network Sites page), #3 (Plugin Active on the Network Themes page)
network-plugin-auditor/network-plugin-auditor.php 92% from 13 tests
"Network Plugin Auditor" version 1.10.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 258 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
No dangerous file extensions were detected521 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 132 | 79 | 396 |
PO File | 2 | 32 | 34 | 125 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 91.00 |
▷ Minimum class complexity | 91.00 |
▷ Maximum class complexity | 91.00 |
Average method complexity | 4.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 23 | |
▷ Static methods | 12 | 52.17% |
▷ Public methods | 23 | 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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.17MB with 0.09MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 63.56KB | 33.82KB | ▼ 46.78% |
screenshot-2.png | 45.04KB | 19.06KB | ▼ 57.69% |
screenshot-3.png | 67.50KB | 33.37KB | ▼ 50.56% |