Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.19ms] Passed 4 tests
Analyzing server-side resources used by Twitter's Bootstrap Shortcodes Ultimate Add-on
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.16 ▼6.27 |
Dashboard /wp-admin | 3.32 ▲0.01 | 53.37 ▲1.08 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.80 ▼10.62 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.79 ▼12.96 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 51.58 ▲14.18 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Twitter's Bootstrap Shortcodes Ultimate Add-on: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.21 ▼0.17 | 1.68 ▼0.09 | 43.53 ▲0.97 |
Dashboard /wp-admin | 2,195 ▲27 | 5.57 ▼0.03 | 91.51 ▼3.32 | 42.56 ▲1.30 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.98 ▼0.03 | 43.33 ▲0.53 | 37.29 ▲1.21 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.06 ▲0.19 | 683.29 ▼3.34 | 57.88 ▲1.16 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.20 ▲0.03 | 111.50 ▲10.47 | 47.13 ▲3.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- 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 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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 fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/twitters-bootstrap-shortcodes-ultimate/inc/jbst.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/twitters-bootstrap-shortcodes-ultimate/inc/jbst-shortcodes.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/twitters-bootstrap-shortcodes-ultimate/twitters-bootstrap-shortcodes-ultimate.php:34
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (Twitter's Bootstrap Shortcodes Ultimate)
twitters-bootstrap-shortcodes-ultimate/twitters-bootstrap-shortcodes-ultimate.php Passed 13 tests
The main PHP file in "Twitter's Bootstrap Shortcodes Ultimate Add-on" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
103 characters long description:
Add short codes for Twitter's Bootstrap 3 css and components to your site addon for Shortcodes Ultimate
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected1,223 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 170 | 309 | 1,068 |
PO File | 1 | 73 | 90 | 155 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 2 | 28.57% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 24 | |
▷ Named functions | 24 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 25.32KB | 9.97KB | ▼ 60.61% |