Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.55ms] Passed 4 tests
An overview of server-side resources used by Ubuntu sidebar lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 52.29 ▲6.54 |
Dashboard /wp-admin | 3.32 ▲0.01 | 54.42 ▼6.82 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.29 ▲0.41 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.81 ▼3.04 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 41.11 ▲3.24 |
Server storage [IO: ▲0.08MB] [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: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Ubuntu sidebar lite: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲70 | 14.23 ▼0.14 | 1.86 ▲0.18 | 44.44 ▲1.81 |
Dashboard /wp-admin | 2,195 ▲20 | 5.62 ▼0.12 | 86.57 ▼18.81 | 42.66 ▲1.37 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▲0.07 | 33.76 ▼0.65 | 36.26 ▼0.04 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 18.20 ▼5.00 | 619.15 ▼60.14 | 77.36 ▲17.93 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.17 ▲0.04 | 97.61 ▼8.93 | 45.18 ▼0.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
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)
Even though everything seems fine, this is not 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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ubuntu-sidebar-lite/ubuntu-sidebar-lite.php:66
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Add an image for screenshot #1 (What the plugin looks like once installed on your blog or website.)
ubuntu-sidebar-lite/ubuntu-sidebar-lite.php Passed 13 tests
This is the main PHP file of "Ubuntu sidebar lite" version 0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
93 characters long description:
When activated, this plugin will put a Ubuntu sidebar lite on the right side of your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected42 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 13 | 42 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
7 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/download-ubuntu.png | 0.97KB | 0.81KB | ▼ 16.78% |
images/ubuntu-com.png | 1.16KB | 0.97KB | ▼ 16.69% |
images/ubuntu-dvd.png | 1.20KB | 1.03KB | ▼ 13.95% |
images/why-ubuntu.png | 1.19KB | 1.18KB | ▼ 1.31% |
images/ubuntu-loco.png | 1.52KB | 1.57KB | 0.00% |