84% importer-for-crocoblock-jetengine

Code Review | Coding Chicken - JetEngine Importer

WordPress plugin Coding Chicken - JetEngine Importer scored84%from 54 tests.

About plugin

  • Plugin page: importer-for-croc...
  • Plugin version: 1.2.1
  • PHP compatiblity: 7.2.5+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Nov 27, 2022
  • Latest release: Aug 13, 2023
  • Number of updates: 13
  • Update frequency: every 22.2 days
  • Top authors: codingchicken (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /1,930 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.31MB] [CPU: ▼5.31ms] Passed 4 tests

An overview of server-side resources used by Coding Chicken - JetEngine Importer
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.79 ▲0.3343.60 ▼8.83
Dashboard /wp-admin3.65 ▲0.3449.79 ▼2.86
Posts /wp-admin/edit.php3.70 ▲0.3450.12 ▲0.60
Add New Post /wp-admin/post-new.php6.17 ▲0.2887.99 ▼10.16
Media Library /wp-admin/upload.php3.51 ▲0.2846.53 ▲8.31

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Coding Chicken - JetEngine Importer
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,822 ▲7614.45 ▲0.081.65 ▼0.4746.80 ▼13.71
Dashboard /wp-admin2,219 ▲345.84 ▲0.96118.90 ▲3.3444.53 ▲2.92
Posts /wp-admin/edit.php2,090 ▼52.07 ▲0.0646.59 ▲4.1033.58 ▼2.14
Add New Post /wp-admin/post-new.php1,550 ▲3622.67 ▲5.00627.34 ▼27.0065.59 ▼10.82
Media Library /wp-admin/upload.php1,413 ▲284.24 ▲0.02104.97 ▼5.0642.53 ▼1.67

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
The following issues need your attention
  • 15× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Trait 'CodingChicken\\Importer\\JetEngine\\FieldFactory\\Fields\\Parts\\importAsSimpleText' not found in wp-content/plugins/importer-for-crocoblock-jetengine/src/FieldFactory/Fields/Checkbox.php on line 6
    • > PHP Fatal error
      Trait 'CodingChicken\\Importer\\JetEngine\\FieldFactory\\Fields\\Parts\\importAsSimpleText' not found in wp-content/plugins/importer-for-crocoblock-jetengine/src/FieldFactory/Fields/Iconpicker.php on line 6
    • > PHP Fatal error
      Trait 'CodingChicken\\Importer\\JetEngine\\FieldFactory\\Fields\\Parts\\importAsSimpleText' not found in wp-content/plugins/importer-for-crocoblock-jetengine/src/FieldFactory/Fields/Radio.php on line 6
    • > PHP Fatal error
      Trait 'CodingChicken\\Importer\\JetEngine\\FieldFactory\\Fields\\Parts\\importAsSimpleText' not found in wp-content/plugins/importer-for-crocoblock-jetengine/src/FieldFactory/Fields/Wysiwyg.php on line 6
    • > PHP Fatal error
      Trait 'CodingChicken\\Importer\\JetEngine\\FieldFactory\\Fields\\Parts\\importAsSimpleText' not found in wp-content/plugins/importer-for-crocoblock-jetengine/src/FieldFactory/Fields/Textarea.php on line 6
    • > PHP Fatal error
      Trait 'CodingChicken\\Importer\\JetEngine\\FieldFactory\\Fields\\Parts\\importAsSimpleText' not found in wp-content/plugins/importer-for-crocoblock-jetengine/src/FieldFactory/Fields/Switcher.php on line 7
    • > PHP Fatal error
      Trait 'CodingChicken\\Importer\\JetEngine\\FieldFactory\\Fields\\Parts\\importAsSimpleText' not found in wp-content/plugins/importer-for-crocoblock-jetengine/src/FieldFactory/Fields/Number.php on line 6
    • > PHP Fatal error
      Trait 'CodingChicken\\Importer\\JetEngine\\FieldFactory\\Fields\\Parts\\importAsDateFormat' not found in wp-content/plugins/importer-for-crocoblock-jetengine/src/FieldFactory/Fields/Time.php on line 6
    • > PHP Fatal error
      Trait 'CodingChicken\\Importer\\JetEngine\\FieldFactory\\Fields\\Parts\\importAsSimpleText' not found in wp-content/plugins/importer-for-crocoblock-jetengine/src/FieldFactory/Fields/Select.php on line 6
    • > PHP Fatal error
      Trait 'CodingChicken\\Importer\\JetEngine\\FieldFactory\\Fields\\Parts\\importAsSimpleText' not found in wp-content/plugins/importer-for-crocoblock-jetengine/src/FieldFactory/Fields/Html.php on line 6

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
  • Donate link: Please fix this invalid URI: ""
Please take inspiration from this readme.txt

importer-for-crocoblock-jetengine/importer-for-crocoblock-jetengine.php Passed 13 tests

Analyzing the main PHP file in "Coding Chicken - JetEngine Importer" version 1.2.1
85 characters long description:
A handy importer for JetEngine Meta Box fields - Requires WP All Import and JetEngine

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected3,070 lines of code in 44 files:
LanguageFilesBlank linesComment linesLines of code
PHP409789002,984
JSON30078
Markdown1508

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.61
Average class complexity20.06
▷ Minimum class complexity1.00
▷ Maximum class complexity218.00
Average method complexity4.06
▷ Minimum method complexity1.00
▷ Maximum method complexity29.00
Code structure
Namespaces9
Interfaces0
Traits2
Classes29
▷ Abstract classes00.00%
▷ Concrete classes29100.00%
▷ Final classes13.45%
Methods194
▷ Static methods3518.04%
▷ Public methods16484.54%
▷ Protected methods10.52%
▷ Private methods2914.95%
Functions14
▷ Named functions321.43%
▷ Anonymous functions1178.57%
Constants19
▷ Global constants210.53%
▷ Class constants1789.47%
▷ Public constants17100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin