Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▲0.50ms] Passed 4 tests
A check of server-side resources used by
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 36.48 ▼3.30 |
Dashboard /wp-admin | 3.33 ▲0.02 | 50.65 ▼0.62 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.60 ▲0.45 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 99.18 ▲9.26 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.12 ▲5.47 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.74 ▲0.09 | 2.08 ▲0.43 | 42.11 ▼2.42 |
Dashboard /wp-admin | 2,198 ▲21 | 5.63 ▲0.08 | 90.24 ▼4.90 | 41.69 ▼3.29 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.95 ▼0.06 | 34.95 ▼0.18 | 33.95 ▲2.11 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.14 ▼0.00 | 600.23 ▼73.43 | 60.55 ▲1.07 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.24 ▲0.10 | 105.93 ▼9.32 | 42.89 ▼5.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tested up to: Invalid plugin version format
buddy-progress-bar/buddy-progress-bar.php Passed 13 tests
The main PHP file in "" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
89 characters long description:
Add a progress bar which displays the percentage of profile fields datas filled by users.
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 plugin1,512 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 339 | 351 | 915 |
PO File | 1 | 89 | 89 | 495 |
CSS | 2 | 13 | 8 | 102 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 40 | |
▷ Static methods | 1 | 2.50% |
▷ Public methods | 34 | 85.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 15.00% |
Functions | 31 | |
▷ Named functions | 31 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin/images/progress-bar-profile.png | 15.39KB | 13.81KB | ▼ 10.27% |
includes/admin/images/bpb-badge.png | 13.34KB | 7.43KB | ▼ 44.32% |