Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.75ms] Passed 4 tests
An overview of server-side resources used by Urban Insight Promobar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.10 | 42.03 ▲1.41 |
Dashboard /wp-admin | 3.43 ▲0.08 | 49.30 ▼3.49 |
Posts /wp-admin/edit.php | 3.54 ▲0.14 | 52.03 ▲3.77 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.08 | 97.26 ▼0.21 |
Media Library /wp-admin/upload.php | 3.35 ▲0.08 | 37.73 ▼4.69 |
UI Promobar /wp-admin/options-general.php?page=urbipb | 3.39 | 44.59 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Urban Insight Promobar: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲145 | 13.45 ▼0.90 | 9.76 ▲7.76 | 40.70 ▼3.92 |
Dashboard /wp-admin | 2,199 ▲22 | 5.63 ▼0.05 | 89.21 ▲0.84 | 41.34 ▼5.96 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.00 | 39.80 ▲3.75 | 35.59 ▼0.09 |
Add New Post /wp-admin/post-new.php | 1,539 ▲10 | 18.03 ▼5.12 | 642.61 ▼5.38 | 71.70 ▲15.89 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▼0.11 | 95.76 ▼2.58 | 45.77 ▲1.25 |
UI Promobar /wp-admin/options-general.php?page=urbipb | 1,836 | 7.10 | 138.23 | 116.49 |
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 were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
urban-insight-promobar/urban-insight-promobar.php 92% from 13 tests
Analyzing the main PHP file in "Urban Insight Promobar" version 1.3.2
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,632 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 73 | 36 | 993 |
PHP | 4 | 145 | 43 | 362 |
CSS | 4 | 29 | 19 | 276 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 28 | |
▷ Named functions | 28 | 100.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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin