Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.09ms] Passed 4 tests
An overview of server-side resources used by Blipper Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.28 ▼5.37 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.26 ▼8.90 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 53.02 ▲2.21 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.01 ▼21.00 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.25 ▼1.09 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Blipper Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.25 ▼0.49 | 1.83 ▼0.25 | 42.00 ▼1.84 |
Dashboard /wp-admin | 2,189 ▲15 | 5.49 ▼0.04 | 83.07 ▼23.50 | 41.01 ▼3.85 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.99 ▼0.03 | 41.45 ▼0.70 | 38.88 ▲1.33 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.24 ▲4.85 | 645.41 ▼6.04 | 51.86 ▼20.93 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.19 ▲0.02 | 93.70 ▼11.52 | 41.56 ▼4.06 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Parse error
syntax error, unexpected '|', expecting variable (T_VARIABLE) in wp-content/plugins/blipper-widget/classes/class-widget.php on line 355
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues 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
8 plugin tags: daily photo, shortcodes, image, blipfoto, images...
blipper-widget/blipper-widget.php Passed 13 tests
The primary PHP file in "Blipper Widget" version 1.2.3 is used by WordPress to initiate all plugin functionality
94 characters long description:
Display your latest blip in a widget. Requires a Blipfoto account (available free of charge).
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,255 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 551 | 992 | 2,142 |
Markdown | 1 | 45 | 0 | 66 |
XML | 1 | 0 | 0 | 30 |
JSON | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 21.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 219.00 |
Average method complexity | 4.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 88 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 58 | 65.91% |
▷ Protected methods | 4 | 4.55% |
▷ Private methods | 26 | 29.55% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 10 | |
▷ Global constants | 3 | 30.00% |
▷ Class constants | 7 | 70.00% |
▷ Public constants | 5 | 71.43% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin