89% gourl-appthemes-bitcoin-payments-classipress-vantage-jobroller

Code Review | GoUrl AppThemes - Bitcoin Payments for Classipress, Vantage, JobRoller, etc

WordPress plugin GoUrl AppThemes - Bitcoin Payments for Classipress, Vantage, JobRoller, etc scored89%from 54 tests.

About plugin

  • Plugin page: gourl-appthemes-b...
  • Plugin version: 1.1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.8
  • WordPress version: 6.3.1
  • First release: Jan 23, 2015
  • Latest release: Jul 13, 2021
  • Number of updates: 29
  • Update frequency: every 81.5 days
  • Top authors: gourl (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

10+ active /77,147 total downloads

Benchmarks

Plugin footprint 83% from 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.00MB] [CPU: ▼4.91ms] Passed 4 tests

Server-side resources used by GoUrl AppThemes - Bitcoin Payments for Classipress, Vantage, JobRoller, etc
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0043.50 ▼0.24
Dashboard /wp-admin3.31 ▲0.0147.98 ▼9.58
Posts /wp-admin/edit.php3.36 ▲0.0047.99 ▼5.43
Add New Post /wp-admin/post-new.php5.89 ▲0.0091.06 ▼4.40
Media Library /wp-admin/upload.php3.23 ▲0.0037.71 ▲3.10

Server storage [IO: ▲0.35MB] [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: 16 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for GoUrl AppThemes - Bitcoin Payments for Classipress, Vantage, JobRoller, etc
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.42 ▲0.192.20 ▲0.6443.78 ▲2.80
Dashboard /wp-admin2,198 ▲215.58 ▲0.0185.57 ▼14.5642.09 ▼1.63
Posts /wp-admin/edit.php2,100 ▼01.99 ▲0.0336.62 ▲0.0532.50 ▼5.71
Add New Post /wp-admin/post-new.php1,526 ▼023.14 ▲0.13688.92 ▼2.8770.65 ▲7.10
Media Library /wp-admin/upload.php1,403 ▲34.19 ▼0.01110.10 ▲0.7668.51 ▲18.12

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 83% 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
These attributes need to be fixed:
  • Screenshots: These screenshots do not have images: #1 (Bitcoin Payments Gateway for Appthemes - Options), #2 (Appthemes Purchase), #3 (Appthemes Checkout Page), #4 (Bitcoin Payment Received Successfully), #5 (Appthemes Edit Order Page), #6 (Optional - You can place your membership prices in Bitcoins/Altcoins directly), #7 (Optional - Escrow Payments)
  • Tags: There are too many tags (43 tag instead of maximum 10)
Please take inspiration from this readme.txt

gourl-appthemes-bitcoin-payments-classipress-vantage-jobroller/gourl-appthemes.php 77% from 13 tests

"GoUrl AppThemes - Bitcoin Payments for Classipress, Vantage, JobRoller, etc" version 1.1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("gourl-appthemes-bitcoin-payments-classipress-vantage-jobroller.php" instead of "gourl-appthemes.php")
  • Plugin Name: It is recommended to keep the plugin name shorter than 70 characters (currently 75 characters long)
  • Description: Keep the plugin description shorter than 140 characters (currently 672 characters long)

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
Good job! No executable or dangerous file extensions detected1,231 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PO File2149191626
PHP1238122547
Markdown232050
HTML1208

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.63
Average class complexity23.50
▷ Minimum class complexity17.00
▷ Maximum class complexity30.00
Average method complexity4.21
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods14
▷ Static methods00.00%
▷ Public methods14100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 compressed PNG files occupy 0.26MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-4.png31.84KB29.78KB▼ 6.47%
screenshot-3.png44.36KB41.90KB▼ 5.54%
screenshot-5.png31.60KB30.62KB▼ 3.12%
screenshot-6.png43.01KB42.25KB▼ 1.76%
screenshot-7.png28.56KB26.24KB▼ 8.15%