Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.73ms] Passed 4 tests
A check of server-side resources used by Debian sidebar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.44 ▼4.80 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.59 ▼9.23 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.35 ▼7.00 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.45 ▼13.88 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.63 ▼0.22 |
Debian Sidebar /wp-admin/options-general.php?page=debiansidebar | 3.20 | 30.96 |
Server storage [IO: ▲0.18MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Debian sidebar
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,895 ▲149 | 14.01 ▼0.37 | 5.79 ▲4.01 | 37.49 ▼7.17 |
Dashboard /wp-admin | 2,209 ▲21 | 5.81 ▼0.10 | 108.63 ▼7.45 | 37.08 ▼8.91 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.03 ▼0.00 | 40.06 ▲3.56 | 34.24 ▼1.14 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 22.94 ▼0.54 | 663.30 ▼4.92 | 66.95 ▲13.06 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.23 ▲0.04 | 94.52 ▼0.63 | 45.42 ▲5.52 |
Debian Sidebar /wp-admin/options-general.php?page=debiansidebar | 997 | 1.97 | 36.41 | 44.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/debian-sidebar/debian-sidebar.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (What the plugin looks like once installed on your blog or website.), #2 (Info.), #3 (Debian media Buttons.), #4 (Options.)
debian-sidebar/debian-sidebar.php Passed 13 tests
"Debian sidebar" version 0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
79 characters long description:
Add Debian 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
Everything looks great! No dangerous files found in this plugin193 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 7 | 27 | 151 |
JavaScript | 1 | 6 | 12 | 42 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.15MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 27.88KB | 11.24KB | ▼ 59.70% |
screenshot-3.png | 37.23KB | 15.48KB | ▼ 58.42% |
images/why-debian.png | 1.29KB | 0.97KB | ▼ 24.62% |
images/download-debian.png | 0.81KB | 0.44KB | ▼ 45.22% |
images/debian-org.png | 1.75KB | 1.22KB | ▼ 30.17% |