Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Warning in wp-content/plugins/jvh-css-classes/inc/class-missing-class-fixer.php+34
file_get_contents(wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.73ms] Passed 4 tests
Analyzing server-side resources used by JVH CSS Classes
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.41 ▼1.50 |
Dashboard /wp-admin | 3.31 ▼0.04 | 49.09 ▼19.65 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.41 ▼2.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.76 ▼21.15 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.17 ▼3.26 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by JVH CSS Classes
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.11 ▼0.24 | 1.89 ▼0.21 | 46.04 ▲2.00 |
Dashboard /wp-admin | 2,192 ▲18 | 5.54 ▼0.12 | 101.21 ▲1.40 | 41.91 ▼1.72 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.01 ▲0.01 | 37.29 ▼3.32 | 37.93 ▼4.93 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.08 ▼0.18 | 658.39 ▼28.29 | 55.51 ▼12.25 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.16 ▼0.11 | 95.68 ▼11.91 | 45.54 ▼1.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function JVH\\CSS\\plugin_dir_path() in wp-content/plugins/jvh-css-classes/jvh-css-classes.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
1 plugin tags: jvh
jvh-css-classes/jvh-css-classes.php Passed 13 tests
"JVH CSS Classes" version 1.1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
31 characters long description:
CSS classes CPT for VC elements
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,297 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 155 | 17 | 665 |
JavaScript | 5 | 107 | 67 | 506 |
CSS | 3 | 14 | 0 | 74 |
SVG | 1 | 0 | 0 | 52 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 1 | 2.22% |
▷ Public methods | 11 | 24.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 34 | 75.56% |
Functions | 16 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 16 | 100.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin