Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼11.18ms] Passed 4 tests
Server-side resources used by SMNTCS Wapuu Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 35.94 ▼3.09 |
Dashboard /wp-admin | 3.37 ▲0.02 | 45.10 ▼18.36 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 49.08 ▼7.72 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.43 ▼14.62 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.45 ▼4.02 |
Server storage [IO: ▲13.79MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 359 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_smntcs_wapuu_widget |
Browser metrics Passed 4 tests
Checking browser requirements for SMNTCS Wapuu Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲45 | 14.37 ▼0.23 | 1.65 ▲0.02 | 40.30 ▲1.42 |
Dashboard /wp-admin | 2,195 ▲24 | 5.73 ▲0.15 | 91.01 ▼2.86 | 38.11 ▼3.93 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.94 ▼0.05 | 39.62 ▲3.99 | 35.20 ▲0.41 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.21 ▼0.41 | 687.15 ▼37.00 | 56.10 ▲0.73 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.22 ▲0.02 | 93.79 ▼4.79 | 45.16 ▲1.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_smntcs_wapuu_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: wapuu, widget, sidebar
smntcs-wapuu-widget/smntcs-wapuu-widget.php Passed 13 tests
The principal PHP file in "SMNTCS Wapuu Widget" v. 1.8 is loaded by WordPress automatically on each request
36 characters long description:
Sidebar widget to show random Wapuu.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin6,443 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 5,935 |
PHP | 1 | 26 | 60 | 403 |
XML | 1 | 13 | 14 | 51 |
Markdown | 1 | 25 | 0 | 37 |
YAML | 1 | 0 | 0 | 8 |
CSS | 1 | 0 | 0 | 5 |
JavaScript | 1 | 0 | 2 | 4 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
334 PNG files occupy 13.28MB with 8.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/WapuuPepa-230x253.png | 29.12KB | 14.51KB | ▼ 50.16% |
images/Habu-230x198.png | 30.32KB | 11.52KB | ▼ 62.01% |
images/wapuubee-230x222.png | 37.74KB | 12.90KB | ▼ 65.83% |
images/wapuu-logo-toque-230x361.png | 41.05KB | 13.96KB | ▼ 65.99% |
images/ghostbuster_wapuu-230x260.png | 48.83KB | 17.14KB | ▼ 64.89% |