89% wp-ever-import

Code Review | WP Ever Import

WordPress plugin WP Ever Import scored89%from 54 tests.

About plugin

  • Plugin page: wp-ever-import
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Mar 21, 2017
  • Latest release: Mar 24, 2017
  • Number of updates: 6
  • Update frequency: every 0.3 days
  • Top authors: satnhue (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /517 total downloads

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
Installer ran successfully

Server metrics [RAM: ▲0.18MB] [CPU: ▼0.82ms] Passed 4 tests

An overview of server-side resources used by WP Ever Import
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.64 ▲0.1840.00 ▲2.03
Dashboard /wp-admin3.48 ▲0.1851.24 ▲1.84
Posts /wp-admin/edit.php3.59 ▲0.2449.87 ▼1.23
Add New Post /wp-admin/post-new.php6.06 ▲0.18100.14 ▼4.81
Media Library /wp-admin/upload.php3.40 ▲0.1834.19 ▲0.90
Imports /wp-admin/edit.php?post_type=imp_import3.4535.41

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP Ever Import
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,830 ▲8413.17 ▼1.281.70 ▲0.0636.36 ▼2.18
Dashboard /wp-admin2,236 ▲575.85 ▼0.0399.65 ▲0.2341.17 ▼3.20
Posts /wp-admin/edit.php2,116 ▲272.06 ▲0.0741.14 ▲2.0535.89 ▼0.67
Add New Post /wp-admin/post-new.php1,417 ▼12520.03 ▲1.67594.52 ▼82.5887.02 ▲30.14
Media Library /wp-admin/upload.php1,418 ▲364.22 ▼0.0095.21 ▼5.3243.70 ▼1.36
Imports /wp-admin/edit.php?post_type=imp_import1,0801.9630.0228.90

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 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
3 plugin tags: csv, import, xml

wp-ever-import/everimport.php 85% from 13 tests

The main PHP file in "WP Ever Import" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 241 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("wp-ever-import.php" instead of "everimport.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected24,737 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript25,47010,61023,892
PHP3322404608
CSS25010237

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.58
Average class complexity72.33
▷ Minimum class complexity18.00
▷ Maximum class complexity179.00
Average method complexity7.48
▷ Minimum method complexity1.00
▷ Maximum method complexity49.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods33
▷ Static methods1030.30%
▷ Public methods2781.82%
▷ Protected methods00.00%
▷ Private methods618.18%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.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
No PNG images were found in this plugin