83% advanced-wp-columns

Code Review | Advanced WP Columns

WordPress plugin Advanced WP Columns scored 83% from 54 tests.

About plugin

  • Plugin page: advanced-wp-columns
  • Plugin version: 2.0.6
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-4.4
  • WordPress version: 5.9.2
  • First release: Jun 21, 2012
  • Latest release: Dec 28, 2015
  • Number of updates: 16
  • Update frequency: every 80.3 days
  • Top authors: LordMX (100%)

Code review

54 tests

User reviews

41 reviews

Install metrics

20,000+ active / 201,541 total downloads


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

An overview of server-side resources used by Advanced WP Columns
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.61 ▲0.0958.35 ▼24.96
Dashboard /wp-admin3.48 ▲0.0734.35 ▼10.12
Posts /wp-admin/edit.php3.71 ▲0.0645.56 ▲7.51
Add New Post /wp-admin/post-new.php7.02 ▲0.0597.86 ▼1,169.81
Media Library /wp-admin/upload.php3.36 ▲0.0635.69 ▲9.48
Advanced WP Columns /wp-admin/options-general.php?page=advanced-wp-columns/advanced-wp-columns.php3.3323.46

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 32 new files
Database: no new tables, 1 new option
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Advanced WP Columns
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,812 ▲5815.88 ▲0.286.04 ▲0.232.51 ▲0.07
Dashboard /wp-admin2,901 ▲446.07 ▼0.05115.30 ▼10.84220.08 ▲15.96
Posts /wp-admin/edit.php2,700 ▲123.24 ▲0.0161.94 ▼1.54140.61 ▼237.01
Add New Post /wp-admin/post-new.php1,672 ▼016.66 ▼4.18430.77 ▼11.03196.36 ▲17.41
Media Library /wp-admin/upload.php1,710 ▲125.52 ▲0.05155.12 ▼7.15245.86 ▲49.42
Advanced WP Columns /wp-admin/options-general.php?page=advanced-wp-columns/advanced-wp-columns.php1,3332.4154.71140.32

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • The uninstall procedure has failed, leaving 1 option in the database
    • drysc_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
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 add_action() in wp-content/plugins/advanced-wp-columns/advanced-wp-columns.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected


Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
  • Screenshots: These screenshots require images: #1 (At this photo you can see default WordPress editor, with one new icon in toolbar which represent this 'Advanced WP Columns' plugin.), #2 (This photo represent the Advanced WP Columns Manager window. There you can create custom number of columns. For each of them you can specify the column size and position by simple drag and drop options on user interface, without any short codes or similar stuff.), #3 (At this photo you can see how your content will looks like. As you can see, even in the editor you have a preview of your columns content.), #4 (As you can see this is how your post or page will looks like after you publish it.), #5 (This plugin have few options that you can set to make it more friendly with your theme.)
  • Tags: Please delete some tags, you are using 37 tag instead of maximum 10
The official readme.txt might help

advanced-wp-columns/advanced-wp-columns.php 92% from 13 tests

The main PHP file in "Advanced WP Columns" ver. 2.0.6 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • Description: The description should be shorter than 140 characters (currently 185 characters long)

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
Success! There were no dangerous files found in this plugin1,593 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity29.00
▷ Minimum class complexity29.00
▷ Maximum class complexity29.00
Average method complexity3.80
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods10100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ 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
13 PNG files occupy 0.22MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/js/plugins/views/img/add_btn.png1.09KB0.82KB▼ 25.36%
assets/js/plugins/views/img/add_columns_btn.png4.73KB2.50KB▼ 47.12%
screenshot-4.png50.31KB22.51KB▼ 55.25%
assets/js/plugins/views/img/stripes.png0.12KB0.10KB▼ 15.70%
screenshot-3.png48.91KB21.61KB▼ 55.82%