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.01MB] [CPU: ▼6.59ms] Passed 4 tests
Server-side resources used by Lestvica SNL
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.55 ▼1.04 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.27 ▼4.01 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 54.60 ▲1.28 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.66 ▼22.58 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.15 ▲2.59 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_lestvica |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Lestvica SNL
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.21 ▼0.34 | 1.70 ▲0.24 | 42.80 ▲1.91 |
Dashboard /wp-admin | 2,195 ▲18 | 5.60 ▼0.05 | 94.93 ▲3.99 | 39.09 ▼4.60 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▼0.02 | 40.37 ▼2.31 | 36.40 ▼3.00 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 18.27 ▼4.68 | 618.89 ▼0.85 | 73.41 ▲14.44 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.20 ▼0.04 | 96.21 ▼9.38 | 45.30 ▲3.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_lestvica
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
No output text or server-side errors detected 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 90% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: "/"
- Plugin Name: You should set the name of your plugin on the first line (
=== lestvica ===
) - Screenshots: Add images for these screenshots: #1 (Widget admin page form.), #2 (Widget front page display.)
lestvica/lestvica.php Passed 13 tests
The main file in "Lestvica SNL" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
57 characters long description:
Automatic update of 3. Slovenian soccer league standings.
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 plugin1,455 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 227 | 265 | 1,455 |
PHP code Passed 2 tests
A brief analysis 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.48 |
Average class complexity | 86.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 4.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 1 | 1.12% |
▷ Public methods | 73 | 82.02% |
▷ Protected methods | 16 | 17.98% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 21 | |
▷ Global constants | 21 | 100.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
There are no PNG files in this plugin