Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼148.18ms] Passed 4 tests
Analyzing server-side resources used by LH Dequeue Woo
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.67 ▼0.05 | 25.05 ▲3.94 |
Dashboard /wp-admin | 3.07 ▲0.02 | 44.08 ▼1.29 |
Posts /wp-admin/edit.php | 3.12 ▲0.02 | 47.52 ▲4.87 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.00 | 94.38 ▼586.01 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 29.68 ▼9.34 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for LH Dequeue Woo
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲66 | 15.96 ▲0.47 | 10.57 ▼1.60 | 45.75 ▼0.27 |
Dashboard /wp-admin | 2,973 ▲39 | 5.92 ▲0.00 | 134.33 ▼12.62 | 107.75 ▲2.30 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.01 | 62.27 ▼4.86 | 94.40 ▲11.20 |
Add New Post /wp-admin/post-new.php | 1,691 ▲191 | 18.91 ▲0.16 | 365.17 ▼27.29 | 112.23 ▼1.24 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 5.01 ▼0.03 | 149.88 ▲8.22 | 117.41 ▼11.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Please fix the following
- 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/lh-dequeue-woo/lh-dequeue-woo.php:76
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: styles, scripts, dequeue, speed, woocommerce
lh-dequeue-woo/lh-dequeue-woo.php Passed 13 tests
The entry point to "LH Dequeue Woo" version 1.01 is a PHP file that has certain tags in its header comment area
48 characters long description:
Plugin to dequeue Woocommerce styles and scripts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin42 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 41 | 10 | 42 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin