84% ecover-builder-for-dummies

Code Review | Ecover Builder For Dummies

WordPress plugin Ecover Builder For Dummies scored84%from 54 tests.

About plugin

  • Plugin page: ecover-builder-fo...
  • Plugin version: 1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.1.1-6.1.1
  • WordPress version: 6.3.1
  • First release: Dec 19, 2022
  • Latest release: Jan 5, 2023
  • Number of updates: 14
  • Update frequency: every 1.6 days
  • Top authors: miguelmartinezlopez (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /157 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.13MB] [CPU: ▲3.74ms] Passed 4 tests

This is a short check of server-side resources used by Ecover Builder For Dummies
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1347.15 ▲3.71
Dashboard /wp-admin3.47 ▲0.1352.83 ▼0.27
Posts /wp-admin/edit.php3.56 ▲0.1855.09 ▲5.28
Add New Post /wp-admin/post-new.php6.05 ▲0.1399.20 ▲9.06
Media Library /wp-admin/upload.php3.39 ▲0.1340.32 ▲6.24
Add New /wp-admin/post-new.php?post_type=ecover3.4551.18
All Ecovers /wp-admin/edit.php?post_type=ecover3.4242.55

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Ecover Builder For Dummies
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,845 ▲9914.81 ▲0.451.69 ▼0.0242.91 ▼3.17
Dashboard /wp-admin2,245 ▲575.84 ▼0.02105.75 ▼9.7638.88 ▼3.46
Posts /wp-admin/edit.php2,131 ▲422.14 ▼0.0743.46 ▲7.0936.99 ▲4.77
Add New Post /wp-admin/post-new.php1,562 ▲2023.07 ▲4.87646.96 ▼18.5949.52 ▼3.34
Media Library /wp-admin/upload.php1,433 ▲454.22 ▲0.0798.12 ▼7.0844.01 ▼1.55
Add New /wp-admin/post-new.php?post_type=ecover2,1635.08105.1738.10
All Ecovers /wp-admin/edit.php?post_type=ecover1,1001.9631.9933.11

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments

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
The smoke test was a success, however most plugin functionality was not tested

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
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _x() in wp-content/plugins/ecover-builder-for-dummies/wp_ecover_plugin.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: ecover, builder, shortcode

ecover-builder-for-dummies/wp_ecover_plugin.php 92% from 13 tests

The entry point to "Ecover Builder For Dummies" version 1.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ecover-builder-for-dummies.php" instead of "wp_ecover_plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected19,521 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript102,1862,07110,315
CSS51,5383968,687
SVG100269
PHP37513250

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.60
Average class complexity76.00
▷ Minimum class complexity76.00
▷ Maximum class complexity76.00
Average method complexity7.82
▷ Minimum method complexity1.00
▷ Maximum method complexity52.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods11
▷ Static methods00.00%
▷ Public methods11100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 2.90MB with 1.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/mockup3.png2,688.08KB1,669.39KB▼ 37.90%
assets/img/mockup12.png279.92KB175.77KB▼ 37.21%