100% jilt-for-edd

Code Review | Jilt for Easy Digital Downloads

WordPress plugin Jilt for Easy Digital Downloads scored 100% from 53 tests.

About plugin

  • Plugin page: jilt-for-edd
  • Plugin version: 1.5.4
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.7.2
  • WordPress version: 5.8.1
  • First release: Nov 1, 2016
  • Latest release: Jun 15, 2021
  • Number of updates: 62
  • Update frequency: every 27.2 days
  • Top authors: SkyVerge (100%)

Code review

53 tests

User reviews

40 reviews

Install metrics

600+ active / 14,521 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼274.77ms] Passed 4 tests

A check of server-side resources used by Jilt for Easy Digital Downloads
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.1433.78 ▲10.31
Dashboard /wp-admin3.08 ▲0.0344.24 ▲9.35
Posts /wp-admin/edit.php3.14 ▲0.0342.73 ▼2.18
Add New Post /wp-admin/post-new.php5.45 ▲0.0290.21 ▼1,101.34
Media Library /wp-admin/upload.php3.03 ▲0.0234.47 ▼4.90

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 61 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Jilt for Easy Digital Downloads
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,650 ▲4415.94 ▲0.0110.14 ▲0.9148.35 ▲3.51
Dashboard /wp-admin2,934 ▲815.94 ▲0.15135.17 ▼8.06103.25 ▼6.17
Posts /wp-admin/edit.php2,706 ▼02.69 ▼0.0064.31 ▼3.4791.48 ▼8.29
Add New Post /wp-admin/post-new.php1,653 ▼018.66 ▼0.04353.78 ▼27.02115.35 ▲10.17
Media Library /wp-admin/upload.php1,772 ▼04.99 ▼0.02149.70 ▼5.72107.37 ▼12.15

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

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 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 is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: save abandoned carts, cart abandonment, edd, abandoned carts, easy digital downloads...

jilt-for-edd/jilt-for-edd.php Passed 13 tests

"Jilt for Easy Digital Downloads" version 1.5.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
76 characters long description:
Recover abandoned carts and boost revenue by 15% or more in under 15 minutes

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected6,537 lines of code in 58 files:
LanguageFilesBlank linesComment linesLines of code
PHP513,5497,0036,106
JavaScript494100428
CSS2002
SVG1001

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity19.96
▷ Minimum class complexity1.00
▷ Maximum class complexity79.00
Average method complexity2.56
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes48
▷ Abstract classes48.33%
▷ Concrete classes4491.67%
▷ Final classes00.00%
Methods586
▷ Static methods518.70%
▷ Public methods43073.38%
▷ Protected methods10417.75%
▷ Private methods528.87%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants19
▷ Global constants15.26%
▷ Class constants1894.74%
▷ Public constants18100.00%

Plugin size Passed 1 test

Image compression Passed 1 test

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