94% edd-status-board

Code Review | EDD - Status Board

WordPress plugin EDD - Status Board scored 94% from 54 tests.

About plugin

  • Plugin page: edd-status-board
  • Plugin version: 1.1.9
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.7
  • WordPress version: 5.8.1
  • First release: Apr 14, 2013
  • Latest release: May 20, 2021
  • Number of updates: 31
  • Update frequency: every 95.5 days
  • Top authors: cklosows (96.77%)NoseGraze (6.45%)

Code review

54 tests

User reviews

3 reviews

Install metrics

10+ active / 2,488 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.05MB] [CPU: ▼141.26ms] Passed 4 tests

Server-side resources used by EDD - Status Board
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.89 ▲0.1729.87 ▲2.82
Dashboard /wp-admin3.11 ▲0.0546.49 ▲5.51
Posts /wp-admin/edit.php3.17 ▲0.0546.37 ▲0.98
Add New Post /wp-admin/post-new.php5.47 ▲0.0393.42 ▼572.38
Media Library /wp-admin/upload.php3.06 ▲0.0537.48 ▲3.56

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for EDD - Status Board
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.89 ▲0.458.97 ▼0.2146.46 ▼2.88
Dashboard /wp-admin2,973 ▲366.07 ▼0.05140.25 ▼6.90112.52 ▲2.58
Posts /wp-admin/edit.php2,739 ▼02.68 ▼0.0164.11 ▼10.5095.17 ▲1.07
Add New Post /wp-admin/post-new.php1,683 ▼018.79 ▲0.04386.04 ▲8.00116.30 ▲0.50
Media Library /wp-admin/upload.php1,810 ▼04.98 ▼0.00154.70 ▼5.51122.31 ▼1.26

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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 add_action() in wp-content/plugins/edd-status-board/edd-status-board.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: edd, status board, panic, easy digital downloads, ipad...

edd-status-board/edd-status-board.php Passed 13 tests

Analyzing the main PHP file in "EDD - Status Board" version 1.1.9
73 characters long description:
Integrates the Easy Digital Downloads API with the Status Board iPad App.

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
Everything looks great! No dangerous files found in this plugin290 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP14720242
PO File1131648

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.23
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions6100.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
There are no PNG files in this plugin