90% wp-easy-export-import

Code Review | WP Easy Export Import

WordPress plugin WP Easy Export Import scored90%from 54 tests.

About plugin

  • Plugin page: wp-easy-export-im...
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-5.2
  • WordPress version: 6.3.1
  • First release: Mar 27, 2020
  • Latest release: Mar 27, 2020
  • Number of updates: 2
  • Update frequency: every 15.5 days
  • Top authors: nerdaryan (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /399 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.11MB] [CPU: ▼3.30ms] Passed 4 tests

An overview of server-side resources used by WP Easy Export Import
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1141.85 ▼1.64
Dashboard /wp-admin3.42 ▲0.1153.97 ▼0.07
Posts /wp-admin/edit.php3.53 ▲0.1753.55 ▲0.93
Add New Post /wp-admin/post-new.php6.00 ▲0.1198.63 ▼12.42
Media Library /wp-admin/upload.php3.34 ▲0.1138.64 ▲2.80
Easy export/import /wp-admin/tools.php?page=wp_easy_export_import3.3136.04

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

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

Browser metrics Passed 4 tests

Checking browser requirements for WP Easy Export Import
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲714.20 ▼0.091.88 ▼0.6344.14 ▼0.92
Dashboard /wp-admin2,199 ▲245.58 ▼0.1689.62 ▼14.4338.93 ▼2.51
Posts /wp-admin/edit.php2,104 ▲41.97 ▼0.0543.40 ▲2.4438.61 ▲2.17
Add New Post /wp-admin/post-new.php1,538 ▲1218.07 ▼5.38646.02 ▼87.6973.06 ▲4.77
Media Library /wp-admin/upload.php1,398 ▼24.19 ▲0.01100.17 ▼9.0343.00 ▼1.26
Easy export/import /wp-admin/tools.php?page=wp_easy_export_import7732.0223.6925.55

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

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

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

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
  • Screenshots: These screenshots require images: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
You can take inspiration from this readme.txt

wp-easy-export-import/wp-easy-export-import.php Passed 13 tests

The primary PHP file in "WP Easy Export Import" version 1.0.0 is used by WordPress to initiate all plugin functionality
31 characters long description:
Makes export and import easier.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin536 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1160198536

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity70.00
▷ Minimum class complexity70.00
▷ Maximum class complexity70.00
Average method complexity4.00
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods23
▷ Static methods14.35%
▷ Public methods1252.17%
▷ Protected methods00.00%
▷ Private methods1147.83%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected