94% adstxt-menage


WordPress plugin ADSTXT MENAGE scored 94% from 54 tests.

About plugin

  • Plugin page: adstxt-menage
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-5.0.3
  • WordPress version: 5.9.2
  • First release: Jan 31, 2019
  • Latest release: Feb 4, 2019
  • Number of updates: 4
  • Update frequency: every 1.3 days
  • Top authors: marchiz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 579 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

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

Analyzing server-side resources used by ADSTXT MENAGE
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0252.06 ▲0.97
Dashboard /wp-admin3.43 ▲0.0233.02 ▼0.69
Posts /wp-admin/edit.php3.67 ▲0.0236.63 ▼0.07
Add New Post /wp-admin/post-new.php6.90 ▼0.0791.77 ▼1,197.98
Media Library /wp-admin/upload.php3.32 ▲0.0226.65 ▲2.02
ADS Settings /wp-admin/options-general.php?page=ads-setting-admin3.2922.07

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for ADSTXT MENAGE
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,768 ▲2615.91 ▲0.335.65 ▼0.192.09 ▼0.04
Dashboard /wp-admin2,897 ▲426.09 ▼0.10119.45 ▼13.60156.24 ▼7.41
Posts /wp-admin/edit.php2,693 ▼13.23 ▲0.0064.56 ▼3.67142.89 ▲3.21
Add New Post /wp-admin/post-new.php1,755 ▲6520.92 ▲0.30465.78 ▲17.57158.16 ▲2.37
Media Library /wp-admin/upload.php1,703 ▲55.53 ▲0.03144.51 ▲4.76189.43 ▲8.18
ADS Settings /wp-admin/options-general.php?page=ads-setting-admin1,0012.3852.67127.02

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

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
Please fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/adstxt-menage/adstxt-menage.php:132

User-side errors Passed 1 test

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


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: adstxt, ads

adstxt-menage/adstxt-menage.php Passed 13 tests

The entry point to "ADSTXT MENAGE" version 1.0.0 is a PHP file that has certain tags in its header comment area
31 characters long description:
Plugin per gestire file ads.txt

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 plugin81 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.15
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.29
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin