90% affiliates-manager-wp-express-checkout-integration

Code Review | Affiliates Manager WP Express Checkout Integration

WordPress plugin Affiliates Manager WP Express Checkout Integration scored90%from 54 tests.

About plugin

  • Plugin page: affiliates-manage...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-6.0
  • WordPress version: 6.3.1
  • First release: Jan 12, 2022
  • Latest release: Aug 28, 2022
  • Number of updates: 3
  • Update frequency: every 76.3 days
  • Top authors: affmngr (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /348 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

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

An overview of server-side resources used by Affiliates Manager WP Express Checkout Integration
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.40 ▼3.50
Dashboard /wp-admin3.31 ▼0.0346.79 ▼14.45
Posts /wp-admin/edit.php3.36 ▲0.0148.21 ▼1.02
Add New Post /wp-admin/post-new.php5.89 ▲0.0189.56 ▼12.45
Media Library /wp-admin/upload.php3.24 ▲0.0133.44 ▼0.35

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Affiliates Manager WP Express Checkout Integration
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.21 ▼1.231.59 ▼0.1942.50 ▼1.26
Dashboard /wp-admin2,209 ▲215.83 ▲0.97108.74 ▲2.7741.57 ▲2.52
Posts /wp-admin/edit.php2,089 ▼02.14 ▲0.1539.29 ▲3.7834.07 ▼0.75
Add New Post /wp-admin/post-new.php1,520 ▼2223.26 ▲4.77582.64 ▼30.8450.90 ▼1.24
Media Library /wp-admin/upload.php1,388 ▲64.20 ▲0.0299.99 ▲1.2543.48 ▲2.44

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: affiliates manager, integration, affiliates, payment, affiliate...

affiliates-manager-wp-express-checkout-integration/affiliatemgr-wp-express-checkout-integration.php 92% from 13 tests

"Affiliates Manager WP Express Checkout Integration" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Main file name: Name the main plugin file the same as the plugin slug ("affiliates-manager-wp-express-checkout-integration.php" instead of "affiliatemgr-wp-express-checkout-integration.php")

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
Success! There were no dangerous files found in this plugin28 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.35
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin