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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼143.00ms] Passed 4 tests
A check of server-side resources used by LH Dequeue Buddypress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 38.82 ▲3.11 |
Dashboard /wp-admin | 3.08 ▲0.03 | 37.31 ▼12.19 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 49.76 ▲6.23 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.00 | 95.23 ▼563.22 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 34.17 ▲0.31 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for LH Dequeue Buddypress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 16.15 ▲0.61 | 8.87 ▼0.55 | 53.23 ▼1.46 |
Dashboard /wp-admin | 2,967 ▲36 | 5.84 ▼0.18 | 138.15 ▼20.26 | 115.60 ▼6.60 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.68 ▼0.01 | 69.72 ▼7.79 | 91.18 ▼4.29 |
Add New Post /wp-admin/post-new.php | 1,604 ▼79 | 18.80 ▲0.04 | 391.62 ▲15.60 | 117.07 ▲7.62 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.02 ▼0.03 | 175.92 ▲15.65 | 127.09 ▲3.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: buddypress, dequeue, speed, styles, scripts
lh-dequeue-buddypress/lh-dequeue-buddypress.php Passed 13 tests
"LH Dequeue Buddypress" version 1.04's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
47 characters long description:
Plugin to dequeue Buddypress styles and scripts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected113 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 84 | 15 | 113 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.80 |
▷ 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 | 10 | |
▷ Static methods | 3 | 30.00% |
▷ Public methods | 10 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin