99% adstxt-guru-connect

Code Review | ads.txt Guru Connect

WordPress plugin ads.txt Guru Connect scored 99% from 54 tests.

About plugin

  • Plugin page: adstxt-guru-connect
  • Plugin version: 1.1.0
  • PHP compatiblity: 5.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-5.6.2
  • WordPress version: 5.9.2
  • First release: Jul 9, 2018
  • Latest release: Feb 4, 2021
  • Number of updates: 47
  • Update frequency: every 20.1 days
  • Top authors: adstxtguru (100%)

Code review

54 tests

User reviews

1 review

Install metrics

70+ active / 1,171 total downloads


Plugin footprint Passed 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.04MB] [CPU: ▼278.54ms] Passed 4 tests

Analyzing server-side resources used by ads.txt Guru Connect
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.0752.90 ▲1.19
Dashboard /wp-admin3.47 ▲0.0632.85 ▲0.21
Posts /wp-admin/edit.php3.70 ▲0.0636.70 ▲0.55
Add New Post /wp-admin/post-new.php6.95 ▼0.02102.48 ▼1,115.82
Media Library /wp-admin/upload.php3.35 ▲0.0528.07 ▲0.90

Server storage [IO: ▲0.04MB] [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: 5 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for ads.txt Guru Connect
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,778 ▲5616.11 ▲0.125.82 ▼0.562.36 ▼0.04
Dashboard /wp-admin2,903 ▲426.26 ▲0.09119.56 ▼12.73157.51 ▼4.66
Posts /wp-admin/edit.php2,703 ▲93.23 ▼0.0263.05 ▼2.40137.86 ▼5.87
Add New Post /wp-admin/post-new.php1,783 ▲11521.08 ▲2.62439.34 ▲0.28154.60 ▼27.29
Media Library /wp-admin/upload.php1,713 ▲155.52 ▲0.01152.34 ▲6.85187.92 ▼6.72

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
The plugin uninstalled completely, with no zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
  • Tags: Too many tags (23 tag instead of maximum 10); only the first 5 tags are used in your directory listing
Please take inspiration from this readme.txt

adstxt-guru-connect/adstxt_guru_connect.php 85% from 13 tests

"ads.txt Guru Connect" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("adstxt-guru-connect.php" instead of "adstxt_guru_connect.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 385 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin358 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.68
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 functions9100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin