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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼2.45ms] Passed 4 tests
Server-side resources used by YALW
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 44.12 ▼4.69 |
Dashboard /wp-admin | 3.51 ▲0.21 | 48.78 ▼2.96 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 47.82 ▼0.03 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 87.40 ▼2.12 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 37.83 ▲1.60 |
YALW /wp-admin/options-general.php?page=yalw-admin | 3.40 | 30.99 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_yalw |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by YALW
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 13.26 ▼1.14 | 1.96 ▼0.64 | 44.27 ▲0.59 |
Dashboard /wp-admin | 2,215 ▲27 | 4.86 ▼1.05 | 98.96 ▼17.18 | 39.81 ▼5.01 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 1.99 ▼0.00 | 35.34 ▲0.39 | 34.63 ▼1.60 |
Add New Post /wp-admin/post-new.php | 1,532 ▼1 | 22.09 ▼1.06 | 698.73 ▼2.17 | 56.71 ▲2.63 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.19 ▼0.01 | 96.69 ▼9.77 | 44.30 ▼1.21 |
YALW /wp-admin/options-general.php?page=yalw-admin | 807 | 2.05 | 23.04 | 28.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_yalw
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/yalw/yalw.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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: authentification, login, widget
yalw/yalw.php 85% from 13 tests
The primary PHP file in "YALW" version 0.16.5 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Description: The description should be shorter than 140 characters (currently 251 characters long)
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 detected1,243 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 151 | 521 | 803 |
XML | 1 | 93 | 249 | 156 |
PO File | 1 | 58 | 99 | 139 |
CSS | 1 | 52 | 19 | 120 |
Markdown | 1 | 13 | 0 | 25 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 41 | 78.85% |
▷ Public methods | 37 | 71.15% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 28.85% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin