Benchmarks
Plugin footprint 83% 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.17MB] [CPU: ▼0.89ms] Passed 4 tests
This is a short check of server-side resources used by JVH Import
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 39.72 ▲3.78 |
Dashboard /wp-admin | 3.50 ▲0.20 | 45.72 ▼1.36 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 45.70 ▼6.77 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 89.49 ▲0.79 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 38.74 ▲4.29 |
JVH Import /wp-admin/tools.php?page=import-jvh-feed | 3.35 | 29.97 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for JVH Import
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲39 | 14.36 ▲0.01 | 1.68 ▲0.11 | 40.83 ▼5.70 |
Dashboard /wp-admin | 2,206 ▲32 | 5.59 ▲0.06 | 89.26 ▲0.69 | 42.19 ▲1.31 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.04 ▲0.09 | 42.98 ▲8.83 | 36.84 ▲2.67 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 18.42 ▼4.65 | 610.42 ▼51.77 | 63.23 ▲11.20 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.20 ▼0.04 | 114.97 ▲13.03 | 45.32 ▼2.99 |
JVH Import /wp-admin/tools.php?page=import-jvh-feed | 802 | 2.00 | 25.75 | 32.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
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)
Even though no errors were found, 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 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-import/jvh-import.php Passed 13 tests
The main PHP file in "JVH Import" ver. 1.2.3 adds more information about the plugin and also serves as the entry point for this plugin
122 characters long description:
Import elements from JVH feed, such as Fluent Forms forms and other elements later on. Used internally within JVH webbouw.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,139 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 263 | 19 | 1,001 |
JavaScript | 1 | 18 | 0 | 76 |
SVG | 1 | 0 | 0 | 52 |
CSS | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 6.82 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 95 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 25.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 71 | 74.74% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.00% |
Constants | 7 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 7 | 100.00% |
▷ Public constants | 7 | 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 are no PNG files in this plugin