84% equal-height-columns

Code Review | Equal Height Columns

WordPress plugin Equal Height Columns scored84%from 54 tests.

About plugin

  • Plugin page: equal-height-columns
  • Plugin version: 1.1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-6.3.1
  • WordPress version: 6.3.1
  • First release: Mar 18, 2015
  • Latest release: Oct 9, 2023
  • Number of updates: 45
  • Update frequency: every 69.6 days
  • Top authors: aaronbmm (48.89%)McGuive7 (20%)aebs90 (17.78%)MIGHTYminnow (15.56%)Braad (6.67%)

Code review

54 tests

User reviews

41 reviews

Install metrics

10,000+ active /67,369 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼9.70ms] Passed 4 tests

This is a short check of server-side resources used by Equal Height Columns
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0242.30 ▼2.48
Dashboard /wp-admin3.32 ▼0.0247.07 ▼21.61
Posts /wp-admin/edit.php3.38 ▲0.0247.95 ▼5.84
Add New Post /wp-admin/post-new.php5.90 ▲0.0299.06 ▼8.85
Media Library /wp-admin/upload.php3.25 ▲0.0246.83 ▲9.40
Equal Height Columns /wp-admin/options-general.php?page=equal-height-columns3.1931.47

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

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

Browser metrics Passed 4 tests

Equal Height Columns: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,876 ▲11513.45 ▼0.819.34 ▲7.5338.43 ▼6.49
Dashboard /wp-admin2,201 ▲245.57 ▼0.0486.78 ▼1.0441.02 ▼3.16
Posts /wp-admin/edit.php2,109 ▲92.04 ▲0.0434.65 ▼5.8034.84 ▼3.05
Add New Post /wp-admin/post-new.php1,540 ▲1518.17 ▲0.55647.05 ▼31.3153.88 ▲1.54
Media Library /wp-admin/upload.php1,406 ▲34.24 ▲0.0398.06 ▼4.1441.20 ▼4.81
Equal Height Columns /wp-admin/options-general.php?page=equal-height-columns9912.0726.2632.94

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
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=equal-height-columns
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=equal-height-columns
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test

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 Passed 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: element, equal, jquery, div, javascript...

equal-height-columns/equal-height-columns.php Passed 13 tests

"Equal Height Columns" version 1.1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
51 characters long description:
Apply equal heights to uneven columns and elements.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin627 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PHP9124452362
JavaScript2100128197
CSS2171768

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.10
Average class complexity2.43
▷ Minimum class complexity1.00
▷ Maximum class complexity8.00
Average method complexity1.31
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods32
▷ Static methods26.25%
▷ Public methods2784.38%
▷ Protected methods00.00%
▷ Private methods515.62%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG images were found in this plugin