90% edd-geckoboard

Code Review | Easy Digital Downloads - Geckoboard

WordPress plugin Easy Digital Downloads - Geckoboard scored 90% from 54 tests.

About plugin

  • Plugin page: edd-geckoboard
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-4.4.2
  • WordPress version: 5.8.1
  • First release: Feb 16, 2016
  • Latest release: Feb 16, 2016
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: section214 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 1,044 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

Analyzing server-side resources used by Easy Digital Downloads - Geckoboard
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1233.67 ▲12.20
Dashboard /wp-admin3.06 ▲0.0042.95 ▲11.11
Posts /wp-admin/edit.php3.11 ▲0.0043.84 ▲2.37
Add New Post /wp-admin/post-new.php5.42 ▼0.01102.88 ▼549.59
Media Library /wp-admin/upload.php3.00 ▲0.0030.76 ▼2.67

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options
recovery_mode_email_last_sent

Browser metrics Passed 4 tests

An overview of browser requirements for Easy Digital Downloads - Geckoboard
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲8415.81 ▲0.029.01 ▲0.0348.03 ▲1.53
Dashboard /wp-admin2,973 ▲395.89 ▼0.19138.00 ▼1.62108.85 ▼3.50
Posts /wp-admin/edit.php2,736 ▼32.68 ▼0.0163.01 ▼0.6382.32 ▼10.97
Add New Post /wp-admin/post-new.php1,500 ▼18318.52 ▼0.30358.88 ▼17.38114.45 ▲0.80
Media Library /wp-admin/upload.php1,807 ▼35.00 ▼0.01144.78 ▼12.61113.87 ▼13.60

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • The uninstall procedure has failed, leaving 1 option in the database
    • recovery_mode_email_last_sent

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
  • Tags: You are using too many tags: 18 tag instead of maximum 10
The official readme.txt is a good inspiration

edd-geckoboard/edd-geckoboard.php Passed 13 tests

The entry point to "Easy Digital Downloads - Geckoboard" version 1.0.0 is a PHP file that has certain tags in its header comment area
43 characters long description:
Adds integration between EDD and Geckoboard

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected250 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP483179250

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity6.33
▷ Minimum class complexity4.00
▷ Maximum class complexity10.00
Average method complexity2.45
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods11
▷ Static methods19.09%
▷ Public methods872.73%
▷ Protected methods00.00%
▷ Private methods327.27%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin