Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼4.00ms] Passed 4 tests
A check of server-side resources used by JetStyleManager for Gutenberg
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 38.03 ▼3.43 |
Dashboard /wp-admin | 3.57 ▲0.27 | 46.13 ▲0.67 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 47.51 ▼1.57 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 82.39 ▼11.65 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 35.14 ▲2.09 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 61 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_jet_widgets_styles |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for JetStyleManager for Gutenberg
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.30 ▼1.07 | 1.59 ▼0.59 | 41.97 ▼4.60 |
Dashboard /wp-admin | 2,209 ▲18 | 5.92 ▲1.03 | 101.33 ▲1.94 | 39.69 ▲0.62 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▼0.02 | 40.18 ▲1.80 | 34.15 ▲1.10 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.17 ▲0.10 | 670.77 ▼2.34 | 69.48 ▲5.51 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.27 ▲0.13 | 93.37 ▼3.15 | 40.35 ▼1.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_jet_widgets_styles
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2 in jet-style-manager/assets to your readme.txt
jet-style-manager/jet-style-manager.php 92% from 13 tests
The entry point to "JetStyleManager for Gutenberg" version 1.3.6 is a PHP file that has certain tags in its header comment area
Please take the time to 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 an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin5,666 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 21 | 481 | 68 | 2,272 |
PHP | 15 | 681 | 675 | 1,866 |
Markdown | 2 | 95 | 3 | 846 |
JSON | 2 | 0 | 0 | 360 |
Sass | 2 | 21 | 9 | 320 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of 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.37 |
Average class complexity | 18.14 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 143 | |
▷ Static methods | 12 | 8.39% |
▷ Public methods | 128 | 89.51% |
▷ Protected methods | 2 | 1.40% |
▷ Private methods | 13 | 9.09% |
Functions | 8 | |
▷ Named functions | 5 | 62.50% |
▷ Anonymous functions | 3 | 37.50% |
Constants | 12 | |
▷ Global constants | 5 | 41.67% |
▷ Class constants | 7 | 58.33% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
12 PNG files occupy 0.11MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
documentation/text.png | 0.91KB | 0.66KB | ▼ 27.84% |
documentation/color-picker.png | 6.21KB | 3.29KB | ▼ 46.94% |
documentation/choose.png | 1.85KB | 1.31KB | ▼ 29.39% |
documentation/responsive.png | 14.91KB | 5.02KB | ▼ 66.32% |
documentation/sidebar.png | 24.11KB | 6.64KB | ▼ 72.45% |