84% simple-export-import-for-acf-data

Code Review | Simple Export Import for ACF Data

WordPress plugin Simple Export Import for ACF Data scored84%from 54 tests.

About plugin

  • Plugin page: simple-export-imp...
  • Plugin version: 1.3.15
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Apr 15, 2022
  • Latest release: Nov 16, 2023
  • Number of updates: 46
  • Update frequency: every 12.6 days
  • Top authors: opcodespace (100%)

Code review

54 tests

User reviews

13 reviews

Install metrics

700+ active /8,554 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.16MB] [CPU: ▼2.35ms] Passed 4 tests

Analyzing server-side resources used by Simple Export Import for ACF Data
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1640.96 ▲1.45
Dashboard /wp-admin3.46 ▲0.1649.13 ▲0.33
Posts /wp-admin/edit.php3.58 ▲0.2246.19 ▲0.93
Add New Post /wp-admin/post-new.php6.05 ▲0.1691.12 ▼10.98
Media Library /wp-admin/upload.php3.39 ▲0.1634.21 ▲0.32
Simple Export Import /wp-admin/options-general.php?page=seip-simple-export-import3.4736.62

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 38 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
seip_settings
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

Simple Export Import for ACF Data: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,794 ▲714.70 ▲0.351.74 ▼0.2843.97 ▼0.59
Dashboard /wp-admin2,202 ▲225.63 ▼0.0286.28 ▼7.6038.60 ▼4.68
Posts /wp-admin/edit.php2,104 ▲41.94 ▼0.0135.01 ▼5.4034.62 ▼3.21
Add New Post /wp-admin/post-new.php1,529 ▲323.76 ▲0.68668.88 ▲13.7054.49 ▲3.35
Media Library /wp-admin/upload.php1,407 ▲44.25 ▲0.0896.94 ▼2.1544.31 ▲1.33
Simple Export Import /wp-admin/options-general.php?page=seip-simple-export-import1,4432.7766.4886.03

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
You still need to fix the following
  • This plugin does not fully uninstall, leaving 7 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • seip_settings

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Please take a closer look at the following
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/simple-export-import-for-acf-data/view/_modal.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: post, import, custom post type, advanced custom field, page...

simple-export-import-for-acf-data/app.php 85% from 13 tests

The primary PHP file in "Simple Export Import for ACF Data" version 1.3.15 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-export-import-for-acf-data.php" instead of "app.php")
  • Description: Keep the plugin description shorter than 140 characters (currently 146 characters long)

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
There were no executable files found in this plugin9,517 lines of code in 32 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript87042165,543
PHP154151402,085
CSS684521,758
JSON10078
Markdown222053

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.52
Average class complexity22.00
▷ Minimum class complexity3.00
▷ Maximum class complexity71.00
Average method complexity3.62
▷ Minimum method complexity1.00
▷ Maximum method complexity20.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods56
▷ Static methods58.93%
▷ Public methods4580.36%
▷ Protected methods712.50%
▷ Private methods47.14%
Functions5
▷ Named functions480.00%
▷ Anonymous functions120.00%
Constants5
▷ Global constants480.00%
▷ Class constants120.00%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/add-on/chosen-js/chosen-sprite.png0.53KB0.88KB0.00%
assets/add-on/chosen-js/chosen-sprite@2x.png0.72KB0.83KB0.00%