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.08MB] [CPU: ▼5.34ms] Passed 4 tests
Server-side resources used by JVH VC Templates Essentials
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 41.82 ▼3.58 |
Dashboard /wp-admin | 3.38 ▲0.08 | 51.77 ▼0.97 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 49.84 ▼0.91 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 93.48 ▼15.90 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.43 ▲1.13 |
All VC Templates /wp-admin/edit.php?post_type=jvh-vc-template | 3.37 | 37.86 |
Add VC Template /wp-admin/post-new.php?post_type=jvh-vc-template | 3.46 | 51.74 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
category-jvh-template_children |
Browser metrics Passed 4 tests
JVH VC Templates Essentials: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲85 | 14.34 ▼0.08 | 1.97 ▲0.27 | 43.74 ▲0.37 |
Dashboard /wp-admin | 2,221 ▲47 | 5.55 ▼0.12 | 85.53 ▼7.69 | 37.35 ▼6.79 |
Posts /wp-admin/edit.php | 2,129 ▲26 | 2.02 ▼0.13 | 38.07 ▲2.75 | 32.50 ▲0.36 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.02 ▼0.15 | 640.52 ▲7.64 | 56.86 ▲1.45 |
Media Library /wp-admin/upload.php | 1,432 ▲29 | 4.22 ▼0.01 | 97.16 ▼1.97 | 43.20 ▼6.00 |
All VC Templates /wp-admin/edit.php?post_type=jvh-vc-template | 1,102 | 1.97 | 32.92 | 31.42 |
Add VC Template /wp-admin/post-new.php?post_type=jvh-vc-template | 2,449 | 7.56 | 174.57 | 63.42 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- category-jvh-template_children
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
1 plugin tags: jvh
jvh-vc-templates-essentials/jvh-vc-templates-essential.php 92% from 13 tests
This is the main PHP file of "JVH VC Templates Essentials" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("jvh-vc-templates-essentials.php" instead of "jvh-vc-templates-essential.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 detected427 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 72 | 10 | 395 |
CSS | 2 | 3 | 0 | 16 |
JavaScript | 2 | 3 | 0 | 16 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 6.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 19.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 25 | 80.65% |
Functions | 13 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 13 | 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