Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▲0.74ms] Passed 4 tests
An overview of server-side resources used by WPZOOM Shortcodes
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 41.57 ▼3.47 |
Dashboard /wp-admin | 3.42 ▲0.11 | 49.48 ▲0.32 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 47.98 ▲3.06 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 92.31 ▲4.15 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 34.32 ▲3.05 |
Server storage [IO: ▲1.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 73 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPZOOM Shortcodes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,979 ▲208 | 13.99 ▼0.39 | 12.89 ▲10.96 | 46.07 ▲8.60 |
Dashboard /wp-admin | 2,217 ▲29 | 5.90 ▲0.02 | 106.82 ▲0.92 | 36.91 ▼6.17 |
Posts /wp-admin/edit.php | 2,097 ▲11 | 2.05 ▼0.09 | 34.78 ▼1.43 | 34.22 ▼1.44 |
Add New Post /wp-admin/post-new.php | 1,536 ▲16 | 18.48 ▼4.60 | 638.98 ▲27.50 | 57.71 ▼0.61 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.34 ▲0.11 | 93.14 ▼10.90 | 43.60 ▲0.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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 SRP test was a success
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: wpzoom, columns, buttons, icons, tabs...
wpzoom-shortcodes/wpzoom-shortcodes.php 92% from 13 tests
The principal PHP file in "WPZOOM Shortcodes" v. 1.0.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin3,864 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 18 | 359 | 105 | 1,925 |
PHP | 6 | 256 | 116 | 683 |
SVG | 1 | 0 | 0 | 655 |
CSS | 5 | 51 | 51 | 601 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 13 | |
▷ Static methods | 5 | 38.46% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 45 | |
▷ Named functions | 45 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
31 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/shortcodes/ico-download.png | 3.21KB | 0.51KB | ▼ 84.10% |
assets/images/colorpicker/colorpicker_overlay.png | 10.11KB | 8.24KB | ▼ 18.50% |
assets/images/colorpicker/colorpicker_hsb_h.png | 0.99KB | 0.77KB | ▼ 21.94% |
assets/images/shortcodes/green-dot.png | 0.23KB | 0.24KB | 0.00% |
assets/images/colorpicker/colorpicker_rgb_r.png | 1.04KB | 0.77KB | ▼ 26.17% |