Benchmarks
Plugin footprint Passed 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.31MB] [CPU: ▼149.17ms] Passed 4 tests
An overview of server-side resources used by Woo Framework Shortcodes
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.12 ▲0.28 | 41.61 ▲6.67 |
Dashboard /wp-admin | 3.43 ▲0.37 | 48.46 ▲8.10 |
Posts /wp-admin/edit.php | 3.47 ▲0.37 | 43.52 ▼10.39 |
Add New Post /wp-admin/post-new.php | 5.73 ▲0.30 | 90.73 ▼587.73 |
Media Library /wp-admin/upload.php | 3.30 ▲0.30 | 33.49 ▼5.21 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 214 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Woo Framework Shortcodes
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,690 ▲94 | 16.17 ▲0.52 | 14.82 ▲6.37 | 43.88 ▼5.98 |
Dashboard /wp-admin | 2,970 ▲39 | 5.90 ▼0.05 | 142.07 ▼6.54 | 110.58 ▲7.64 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.73 ▲0.01 | 70.36 ▼15.40 | 94.76 ▲0.46 |
Add New Post /wp-admin/post-new.php | 1,553 ▼130 | 18.69 ▼0.00 | 367.30 ▼18.47 | 125.66 ▲5.16 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.00 ▼0.04 | 162.02 ▲1.73 | 109.80 ▼3.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
Smoke tests 75% from 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 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
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/woo-framework-shortcodes/functions/js/shortcode-generator/dialog.php
- > /wp-content/plugins/woo-framework-shortcodes/functions/js/shortcode-generator/js/dialog-js.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: shortcodes, woo-framework
woo-framework-shortcodes/woo-framework-shortcodes.php Passed 13 tests
The principal PHP file in "Woo Framework Shortcodes" v. 1.0.0 is loaded by WordPress automatically on each request
126 characters long description:
Easily switch to a non WooThemes theme but retain the framework shortcodes. Use shortcodes from WooFramework in another theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected7,759 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 43 | 387 | 141 | 3,581 |
PHP | 7 | 928 | 575 | 2,009 |
CSS | 10 | 105 | 174 | 1,610 |
LESS | 5 | 69 | 17 | 547 |
SVG | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 74 | |
▷ Named functions | 74 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
133 PNG files occupy 0.13MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
functions/images/btn-tumblog-link.png | 1.17KB | 1.24KB | 0.00% |
functions/images/ico-refresh.png | 1.55KB | 0.53KB | ▼ 66.10% |
functions/images/ico-add.png | 0.39KB | 0.42KB | 0.00% |
functions/assets/images/placeholder.png | 1.47KB | 0.71KB | ▼ 51.43% |
functions/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.08KB | 0.17KB | 0.00% |