Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.99ms] Passed 4 tests
This is a short check of server-side resources used by Ubuntu sidebar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 42.70 ▲2.69 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.21 ▼2.24 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.51 ▼0.08 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 99.88 ▼6.89 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.18 ▲1.24 |
Ubuntu Sidebar /wp-admin/options-general.php?page=ubuntusidebar | 3.23 | 35.51 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Ubuntu sidebar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲174 | 14.17 ▼0.44 | 6.48 ▲4.64 | 38.84 ▼3.16 |
Dashboard /wp-admin | 2,227 ▲21 | 5.91 ▲1.00 | 95.40 ▼12.89 | 40.95 ▼3.54 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.03 ▲0.02 | 39.78 ▼0.74 | 35.52 ▼2.09 |
Add New Post /wp-admin/post-new.php | 1,623 ▲78 | 23.59 ▲0.44 | 679.16 ▼14.58 | 60.76 ▲5.69 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.17 ▼0.06 | 111.61 ▼4.67 | 47.17 ▼3.89 |
Ubuntu Sidebar /wp-admin/options-general.php?page=ubuntusidebar | 1,096 | 1.96 | 33.90 | 48.33 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ubuntu-sidebar/ubuntu-sidebar.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (What the plugin looks like once installed on your blog or website.), #2 (Info.), #3 (Ubuntu media Buttons.), #4 (Options.)
ubuntu-sidebar/ubuntu-sidebar.php Passed 13 tests
The main file in "Ubuntu sidebar" v. 0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
79 characters long description:
Add Ubuntu media buttons to the right side of your website with style and ease.
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
No dangerous file extensions were detected257 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 7 | 27 | 194 |
JavaScript | 1 | 6 | 12 | 63 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 5 | |
▷ Named functions | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
11 PNG files occupy 0.12MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 8.93KB | 4.28KB | ▼ 52.07% |
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% |