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.02MB] [CPU: ▼3.36ms] Passed 4 tests
This is a short check of server-side resources used by Network Only Plugins Tab
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.31 ▲4.18 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.02 ▲3.82 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 44.61 ▼3.04 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 81.47 ▼10.78 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 34.44 ▼3.43 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Network Only Plugins Tab
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▲0.11 | 1.84 ▲0.13 | 43.60 ▲2.86 |
Dashboard /wp-admin | 2,206 ▲31 | 4.90 ▼1.01 | 108.75 ▲1.95 | 38.61 ▼6.60 |
Posts /wp-admin/edit.php | 2,089 ▲10 | 2.06 ▲0.04 | 37.19 ▼7.90 | 33.78 ▼5.27 |
Add New Post /wp-admin/post-new.php | 1,533 ▼10 | 23.14 ▲4.87 | 586.56 ▼34.66 | 54.16 ▲1.32 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.29 ▲0.09 | 99.11 ▲4.36 | 43.33 ▼0.95 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- 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 everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/network-only-plugins-tab/inc/html-settings.php
- > /wp-content/plugins/network-only-plugins-tab/inc/class-nopt-core.php
- > /wp-content/plugins/network-only-plugins-tab/network-only-plugins-tab.php
- > /wp-content/plugins/network-only-plugins-tab/inc/class-nopt-settings.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues 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
6 plugin tags: plugins, network, admin, tuning, admin interface...
network-only-plugins-tab/network-only-plugins-tab.php 92% from 13 tests
Analyzing the main PHP file in "Network Only Plugins Tab" version 1.2
Please take the time to fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,164 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 12 | 5 | 464 |
SVG | 1 | 0 | 0 | 399 |
PHP | 5 | 95 | 214 | 284 |
JavaScript | 1 | 2 | 7 | 17 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 15 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 16.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin