84% customeasy

Code Review | CustomEasy

WordPress plugin CustomEasy scored84%from 54 tests.

About plugin

  • Plugin page: customeasy
  • Plugin version: 1.01
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.6
  • WordPress version: 6.3.1
  • First release: Jun 27, 2016
  • Latest release: Jan 2, 2021
  • Number of updates: 16
  • Update frequency: every 103.2 days
  • Top authors: LCweb Projects (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /1,163 total downloads


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.01MB] [CPU: ▼6.76ms] Passed 4 tests

Server-side resources used by CustomEasy
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0040.92 ▼2.82
Dashboard /wp-admin3.32 ▲0.0148.71 ▼5.07
Posts /wp-admin/edit.php3.37 ▲0.0147.28 ▼6.15
Add New Post /wp-admin/post-new.php5.89 ▲0.0188.42 ▼12.98
Media Library /wp-admin/upload.php3.24 ▲0.0137.35 ▼1.59
CustomEasy /wp-admin/themes.php?page=customeasy_global3.2532.75

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 372 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by CustomEasy
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.26 ▼0.111.71 ▲0.1441.37 ▼1.73
Dashboard /wp-admin2,199 ▲225.68 ▲0.0087.68 ▼1.0740.90 ▼1.79
Posts /wp-admin/edit.php2,101 ▲12.02 ▼0.0337.45 ▲1.2134.50 ▼0.23
Add New Post /wp-admin/post-new.php6,396 ▲4,85124.18 ▲0.79985.15 ▲283.06106.89 ▲54.43
Media Library /wp-admin/upload.php1,395 ▼54.24 ▲0.1097.54 ▼14.0742.15 ▼5.79
CustomEasy /wp-admin/themes.php?page=customeasy_global9533.3070.7142.20

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 detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 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 50% from 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
The following issues need your attention
  • 3× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customeasy/metabox.php:19
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/customeasy/global_codes.php:23
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/customeasy/customEasy.php:17

User-side errors Passed 1 test

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


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: enqueuing, frontend, custom code, css, jquery...

customeasy/customEasy.php 92% from 13 tests

The primary PHP file in "CustomEasy" version 1.01 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("customeasy.php" instead of "customEasy.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,704 lines of code in 361 files:
LanguageFilesBlank linesComment linesLines of code

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.51
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions7100.00%
▷ Anonymous functions00.00%
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.12MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
js/ace/demo/bookmarklet/images/ace.png23.79KB9.38KB▼ 60.56%
js/ace/demo/bookmarklet/images/background.png3.36KB0.55KB▼ 83.66%
js/ace/demo/bookmarklet/images/logo_half.png19.52KB6.47KB▼ 66.84%
js/ace/demo/bookmarklet/images/body_background.png2.94KB0.58KB▼ 80.32%
js/ace/demo/bookmarklet/images/fork_on_github.png18.09KB5.96KB▼ 67.07%