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.02MB] [CPU: ▼0.80ms] Passed 4 tests
A check of server-side resources used by Pojo Sidebars
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.10 ▲3.35 |
Dashboard /wp-admin | 3.33 ▲0.02 | 51.86 ▲6.61 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.44 ▲1.06 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.46 ▼9.68 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.29 ▲2.08 |
Sidebars /wp-admin/edit-tags.php?taxonomy=pojo_sidebars | 3.25 | 35.77 |
Server storage [IO: ▲0.59MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Pojo Sidebars
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.44 ▲0.12 | 1.86 ▲0.04 | 44.22 ▲2.00 |
Dashboard /wp-admin | 2,207 ▲16 | 5.83 ▲0.97 | 99.85 ▲0.07 | 36.84 ▼6.31 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.01 ▼0.03 | 36.22 ▼1.26 | 29.60 ▼4.81 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 18.25 ▲0.22 | 595.32 ▼27.23 | 54.23 ▼3.87 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.21 ▲0.01 | 93.11 ▼4.43 | 41.63 ▼4.47 |
Sidebars /wp-admin/edit-tags.php?taxonomy=pojo_sidebars | 1,228 | 2.28 | 25.28 | 29.93 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
- Screenshots: Add images for these screenshots: #1 (Dashboard), #2 (Widgets Area), #3 (Widgets Area 2)
pojo-sidebars/pojo-sidebars.php 92% from 13 tests
"Pojo Sidebars" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 149 characters long)
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
Good job! No executable or dangerous file extensions detected259 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 60 | 45 | 213 |
PO File | 1 | 16 | 23 | 46 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 4 | 100.00% |
Methods | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 20 | 90.91% |
▷ Protected methods | 1 | 4.55% |
▷ Private methods | 1 | 4.55% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.58MB with 0.38MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 214.03KB | 73.26KB | ▼ 65.77% |
screenshot-1.png | 162.56KB | 55.69KB | ▼ 65.74% |
screenshot-3.png | 213.69KB | 73.53KB | ▼ 65.59% |