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.23MB] [CPU: ▼1.23ms] Passed 4 tests
Analyzing server-side resources used by WEN Skill Charts
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 46.53 ▲2.85 |
Dashboard /wp-admin | 3.53 ▲0.23 | 46.05 ▼6.73 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 45.37 ▲1.20 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 84.29 ▼1.29 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 36.45 ▲1.89 |
Add New /wp-admin/post-new.php?post_type=wen_skill | 3.49 | 42.54 |
All Skills /wp-admin/edit.php?post_type=wen_skill | 3.50 | 37.31 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
WEN Skill Charts: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲185 | 13.95 ▼0.42 | 7.90 ▲6.07 | 37.34 ▼10.47 |
Dashboard /wp-admin | 2,236 ▲51 | 5.87 ▲0.95 | 97.06 ▼14.67 | 35.83 ▼6.28 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.03 ▲0.03 | 34.56 ▼2.61 | 35.22 ▲0.12 |
Add New Post /wp-admin/post-new.php | 1,559 ▲19 | 23.23 ▼0.01 | 661.69 ▼5.99 | 59.35 ▲7.97 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.18 ▲0.03 | 94.10 ▼6.60 | 42.59 ▼0.07 |
Add New /wp-admin/post-new.php?post_type=wen_skill | 2,256 | 3.40 | 99.52 | 61.96 |
All Skills /wp-admin/edit.php?post_type=wen_skill | 1,107 | 1.96 | 31.62 | 29.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Screenshot #2 (Add New Circle) image required
wen-skill-charts/wen-skill-charts.php Passed 13 tests
The principal PHP file in "WEN Skill Charts" v. 1.5.2 is loaded by WordPress automatically on each request
35 characters long description:
Show animated skill bar and circle.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,599 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 297 | 688 | 843 |
JavaScript | 7 | 82 | 100 | 404 |
CSS | 2 | 34 | 25 | 352 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 9.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 2 | 4.00% |
▷ Public methods | 44 | 88.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 12.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/dragger.png | 3.06KB | 0.30KB | ▼ 90.05% |
admin/images/cross.png | 0.67KB | 0.64KB | ▼ 4.93% |