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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.01ms] Passed 4 tests
An overview of server-side resources used by LW MWP Tools
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.37 ▼1.07 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.71 ▲0.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.21 ▼3.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.00 ▼3.92 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.92 ▲0.82 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
LW MWP Tools: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.61 ▼0.79 | 1.73 ▲0.12 | 39.48 ▼1.33 |
Dashboard /wp-admin | 2,206 ▲21 | 4.82 ▼1.09 | 98.79 ▼0.81 | 39.64 ▼6.06 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.98 ▼0.04 | 39.22 ▲0.72 | 33.77 ▼0.60 |
Add New Post /wp-admin/post-new.php | 1,535 ▼0 | 23.49 ▲0.21 | 646.69 ▼44.70 | 53.08 ▼2.21 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▼0.05 | 96.89 ▼6.42 | 43.90 ▲0.85 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/lw-mwp-tools/lw-mwp-tools.php
- > /wp-content/plugins/lw-mwp-tools/api.php
- > /wp-content/plugins/lw-mwp-tools/monitor.php
- > /wp-content/plugins/lw-mwp-tools/uninstall.php
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: server info, liquid web, liquidweb, debug, monitor
lw-mwp-tools/lw-mwp-tools.php Passed 13 tests
"LW MWP Tools" version 0.3.6.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
99 characters long description:
Easy access to system logs and resource usage on the Liquid Web Managed WordPress Hosting Platform.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin322 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 39 | 20 | 253 |
JavaScript | 3 | 17 | 17 | 60 |
CSS | 2 | 0 | 1 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 12 | |
▷ Named functions | 12 | 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
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pixel.png | 0.09KB | 0.09KB | 0.00% |
images/pct.png | 0.37KB | 0.38KB | 0.00% |
images/sec.png | 0.53KB | 0.55KB | 0.00% |