90% jvh-wp-all-import-extender

Code Review | JVH WP All Import Extender

WordPress plugin JVH WP All Import Extender scored90%from 54 tests.

About plugin

  • Plugin page: jvh-wp-all-import...
  • Plugin version: 1.4.2
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8
  • WordPress version: 6.3.1
  • First release: Apr 5, 2021
  • Latest release: Aug 4, 2021
  • Number of updates: 37
  • Update frequency: every 17.7 days
  • Top authors: jaapjvh (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /443 total downloads

Benchmarks

Plugin footprint 83% from 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.01MB] [CPU: ▼1.27ms] Passed 4 tests

This is a short check of server-side resources used by JVH WP All Import Extender
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0243.06 ▼1.30
Dashboard /wp-admin3.31 ▲0.0147.73 ▼3.40
Posts /wp-admin/edit.php3.36 ▲0.0157.21 ▲11.37
Add New Post /wp-admin/post-new.php5.89 ▲0.0192.08 ▼0.66
Media Library /wp-admin/upload.php3.23 ▲0.0134.55 ▲0.29

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

JVH WP All Import Extender: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4314.81 ▲0.461.81 ▼0.3142.15 ▼1.63
Dashboard /wp-admin2,209 ▲214.86 ▼1.05102.89 ▼16.0640.48 ▼8.89
Posts /wp-admin/edit.php2,089 ▼02.04 ▲0.0443.05 ▲6.9734.82 ▼0.49
Add New Post /wp-admin/post-new.php1,542 ▲2818.77 ▲1.34605.06 ▼60.0860.30 ▲5.93
Media Library /wp-admin/upload.php1,388 ▼04.17 ▼0.02100.04 ▲6.8043.33 ▲1.78

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
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
Congratulations! This plugin passed the SRP 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)
No browser errors were detected

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-wp-all-import-extender/jvh-wp-all-import-extender.php Passed 13 tests

The main PHP file in "JVH WP All Import Extender" ver. 1.4.2 adds more information about the plugin and also serves as the entry point for this plugin
50 characters long description:
Export and import VC single images and VC snippets

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 detected526 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP1015519526

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity3.89
▷ Minimum class complexity1.00
▷ Maximum class complexity8.00
Average method complexity1.46
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods61
▷ Static methods00.00%
▷ Public methods2134.43%
▷ Protected methods00.00%
▷ Private methods4065.57%
Functions12
▷ Named functions00.00%
▷ Anonymous functions12100.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin