Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▲1.18ms] Passed 4 tests
Server-side resources used by Plugin LBstopattack
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.07 | 46.21 ▲1.24 |
Dashboard /wp-admin | 19.29 ▲15.90 | 3,162,391.85 ▲3,162,324.61 |
Posts /wp-admin/edit.php | 3.51 ▲0.11 | 52.78 ▲0.53 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.05 | 92.74 ▼7.80 |
Media Library /wp-admin/upload.php | 3.32 ▲0.05 | 47.26 ▲10.77 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 9 new files
Database: 1 new table, 21 new options
New tables |
---|
wp_lbsa_iptable |
New WordPress options |
---|
lbsa_raiseerror |
lbsa_db_version |
widget_recent-comments |
widget_theysaidso_widget |
lbsa_errorcode |
lbsa_ipblock |
lbsa_ipblockcount |
lbsa_sendto |
lbsa_namespaces |
lbsa_levelLFI |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Plugin LBstopattack
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 14.63 ▲0.27 | 1.98 ▲0.24 | 43.71 ▲0.56 |
Dashboard /wp-admin | 2,211 ▲34 | 5.59 ▲0.03 | 87.43 ▼3.50 | 43.26 ▲2.20 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.01 ▲0.07 | 38.44 ▼0.01 | 37.18 ▲0.44 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.07 ▼0.00 | 653.18 ▲25.94 | 50.21 ▼16.51 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.20 ▼0.01 | 101.88 ▲2.25 | 43.25 ▼0.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- lbsa_unactive
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/lbstopattack/inc/lbsa_home.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
No tags were detected
lbstopattack/lbstopattack.php 77% from 13 tests
Analyzing the main PHP file in "Plugin LBstopattack" version 1.1.5
You should first fix the following items:
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages/")
- Description: Keep the plugin description shorter than 140 characters (currently 148 characters long)
- Domain Path: The domain path should use only dashes and lowercase characters ("languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin561 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 172 | 26 | 446 |
PO File | 1 | 32 | 35 | 115 |
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.32 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected