Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.67ms] Passed 4 tests
Analyzing server-side resources used by JVM Gutenberg Rich Text Icons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.74 ▼6.74 |
Dashboard /wp-admin | 3.39 ▲0.09 | 47.20 ▼1.56 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 44.95 ▼2.79 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 85.63 ▼7.57 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 31.89 ▼0.61 |
JVM rich text icons /wp-admin/options-general.php?page=jvm-rich-text-icons | 3.32 | 31.98 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
JVM Gutenberg Rich Text Icons: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲38 | 14.37 ▼0.00 | 1.65 ▼0.16 | 36.74 ▼5.97 |
Dashboard /wp-admin | 2,198 ▲24 | 5.62 ▼0.03 | 91.74 ▼5.90 | 37.44 ▼2.98 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.00 ▼0.02 | 35.36 ▼5.08 | 30.68 ▼7.24 |
Add New Post /wp-admin/post-new.php | 6,200 ▲4,674 | 19.11 ▼4.08 | 927.15 ▲320.25 | 62.71 ▲14.21 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.23 ▲0.06 | 95.79 ▼9.01 | 41.99 ▼2.85 |
JVM rich text icons /wp-admin/options-general.php?page=jvm-rich-text-icons | 1,021 | 2.37 | 48.57 | 33.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/jvm-rich-text-icons/uninstall.php+17
rmdir(wp-content/uploads/jvm-rich-text-icons/): Directory not empty
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 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 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
Please take a closer look at the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/jvm-rich-text-icons/views/uploader.php:3
- > PHP Fatal error
Uncaught Error: Class 'JVM_Richtext_icons' not found in wp-content/plugins/jvm-rich-text-icons/views/icon-list.php:2
- > PHP Fatal error
Uncaught Error: Class 'JVM_Richtext_icons' not found in wp-content/plugins/jvm-rich-text-icons/views/dynamic_css.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/jvm-rich-text-icons/views/settings.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=jvm-rich-text-icons
- > Network (severe)
https://www.paypalobjects.com/en_NL/i/scr/pixel.gif - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 83% 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: Add descriptions for screenshots #1, #2, #3 in jvm-rich-text-icons/assets to your readme.txt
jvm-rich-text-icons/plugin.php 69% from 13 tests
The main PHP script in "JVM Gutenberg Rich Text Icons" version 1.2.7 is automatically included on every request by WordPress
You should first fix the following items:
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Main file name: Name the main plugin file the same as the plugin slug ("jvm-rich-text-icons.php" instead of "plugin.php")
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
No dangerous file extensions were detected2,359 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 802 |
PHP | 10 | 180 | 273 | 718 |
CSS | 4 | 31 | 17 | 437 |
JavaScript | 6 | 69 | 61 | 402 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 18.75 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 9 | 26.47% |
▷ Public methods | 32 | 94.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.88% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin