94% dragcheck-admin-rows

Code Review | Dragcheck Admin Rows

WordPress plugin Dragcheck Admin Rows scored 94% from 54 tests.

About plugin

  • Plugin page: dragcheck-admin-rows
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 1.0.0-4.3.1
  • WordPress version: 5.8.1
  • First release: Oct 29, 2015
  • Latest release: Oct 29, 2015
  • Number of updates: 6
  • Update frequency: N/A
  • Top authors: X-Raym (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 613 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▼0.00MB] [CPU: ▼136.96ms] Passed 4 tests

Server-side resources used by Dragcheck Admin Rows
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1233.84 ▲12.73
Dashboard /wp-admin3.06 ▲0.0147.93 ▲12.25
Posts /wp-admin/edit.php3.12 ▼0.0044.48 ▼3.31
Add New Post /wp-admin/post-new.php5.42 ▼0.0190.24 ▼556.95
Media Library /wp-admin/upload.php3.01 ▲0.0031.22 ▲0.19

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Dragcheck Admin Rows: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,702 ▲6515.91 ▲0.139.47 ▼1.8555.05 ▲7.71
Dashboard /wp-admin2,972 ▲415.92 ▼0.08159.86 ▲9.99112.98 ▼4.45
Posts /wp-admin/edit.php2,744 ▲52.78 ▲0.0667.02 ▲5.7887.76 ▲5.56
Add New Post /wp-admin/post-new.php1,872 ▲20019.11 ▲0.25364.69 ▲6.34110.19 ▼1.76
Media Library /wp-admin/upload.php1,815 ▲85.08 ▲0.05141.02 ▼10.53119.12 ▼0.86

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully

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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/dragcheck-admin-rows/dragcheck-admin-rows.php:45

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: backend, select, checkboxes, ergonomic, ui...

dragcheck-admin-rows/dragcheck-admin-rows.php 92% from 13 tests

"Dragcheck Admin Rows" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 230 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin111 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.78
Average class complexity6.00
▷ Minimum class complexity6.00
▷ Maximum class complexity6.00
Average method complexity2.67
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods3100.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

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin