100% jvh-import

Code Review | JVH Import

WordPress plugin JVH Import scored 100% from 54 tests.

About plugin

  • Plugin page: jvh-import
  • Plugin version: 1.2.1
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8.2
  • WordPress version: 5.9.2
  • First release: Jan 10, 2022
  • Latest release: Feb 7, 2022
  • Number of updates: 24
  • Update frequency: every 1.3 days
  • Top authors: jaapjvh (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 216 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.14MB] [CPU: ▼295.25ms] Passed 4 tests

An overview of server-side resources used by JVH Import
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.71 ▲0.2056.00 ▲6.08
Dashboard /wp-admin3.55 ▲0.1433.73 ▼2.34
Posts /wp-admin/edit.php3.77 ▲0.1336.88 ▼1.03
Add New Post /wp-admin/post-new.php7.07 ▲0.1093.48 ▼1,178.98
Media Library /wp-admin/upload.php3.49 ▲0.2026.72 ▲1.34
JVH Import /wp-admin/tools.php?page=import-jvh-feed3.4623.59

Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by JVH Import
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,775 ▲2116.19 ▲0.196.50 ▼0.932.39 ▼0.19
Dashboard /wp-admin2,904 ▲506.07 ▼0.01120.02 ▼13.70156.43 ▼8.98
Posts /wp-admin/edit.php2,703 ▲123.27 ▲0.0265.67 ▼8.36140.02 ▼9.92
Add New Post /wp-admin/post-new.php1,669 ▼316.05 ▼4.79409.20 ▼20.13158.78 ▼3.79
Media Library /wp-admin/upload.php1,707 ▲95.53 ▲0.02149.28 ▲7.17182.25 ▼8.99
JVH Import /wp-admin/tools.php?page=import-jvh-feed9992.4453.23111.57

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test

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


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

This is the main PHP file of "JVH Import" version 1.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
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 | 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,072 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity6.82
▷ Minimum class complexity2.00
▷ Maximum class complexity14.00
Average method complexity1.68
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes11100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods2425.26%
▷ Protected methods00.00%
▷ Private methods7174.74%
▷ Named functions00.00%
▷ Anonymous functions6100.00%
▷ Global constants00.00%
▷ Class constants7100.00%
▷ Public constants7100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected