WordPress plugin adgoal scored 83% from 54 tests.

About plugin

  • Plugin page: adgoal-affiliate-...
  • Plugin version: 1.0.8
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7-5.2
  • WordPress version: 5.8.1
  • First release: Oct 6, 2015
  • Latest release: Apr 29, 2019
  • Number of updates: 16
  • Update frequency: every 82.1 days
  • Top authors: adgoal (100%)

Code review

54 tests

User reviews

1 review

Install metrics

70+ active / 1,495 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼141.04ms] Passed 4 tests

A check of server-side resources used by adgoal
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1241.04 ▲20.82
Dashboard /wp-admin3.07 ▲0.0250.84 ▲0.33
Posts /wp-admin/edit.php3.12 ▲0.0248.15 ▲0.08
Add New Post /wp-admin/post-new.php5.44 ▲0.0199.36 ▼561.08
Media Library /wp-admin/upload.php3.02 ▲0.0141.36 ▼3.49
adgoal /wp-admin/options-general.php?page=adgoal-affiliate-marketing-monetization/adgoal.php2.9832.78

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 1 new option
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for adgoal
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,708 ▲12615.81 ▲0.2611.85 ▼1.8951.58 ▼4.84
Dashboard /wp-admin2,969 ▲386.16 ▼0.09174.45 ▲8.82114.14 ▼9.08
Posts /wp-admin/edit.php2,744 ▲52.71 ▼0.0179.55 ▼7.5297.80 ▲5.85
Add New Post /wp-admin/post-new.php1,686 ▲318.34 ▼0.38413.95 ▼6.49120.01 ▲2.37
Media Library /wp-admin/upload.php1,812 ▲55.01 ▼0.02194.82 ▲25.21129.32 ▼21.90
adgoal /wp-admin/options-general.php?page=adgoal-affiliate-marketing-monetization/adgoal.php1,0662.0960.3872.50

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie WordPress options were found after uninstall: 1 option
    • hash

Smoke tests 75% from 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)
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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 following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/adgoal-affiliate-marketing-monetization/adgoal.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found


Plugin configuration 90% from 29 tests

readme.txt 88% from 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
These attributes need your attention:
  • Plugin Name: Please specify the plugin name on the first line ( === adgoal-affiliate-marketing-monetization === )
  • Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
Please take inspiration from this readme.txt

adgoal-affiliate-marketing-monetization/adgoal.php 92% from 13 tests

The main PHP script in "adgoal" version 1.0.8 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("adgoal-affiliate-marketing-monetization.php" instead of "adgoal.php")

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
Everything looks great! No dangerous files found in this plugin94 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.43
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 functions6100.00%
▷ Anonymous functions00.00%
▷ 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings