84% anexia-monitoring

Code Review | Anexia Monitoring

WordPress plugin Anexia Monitoring scored 84% from 54 tests.

About plugin

  • Plugin page: anexia-monitoring
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: May 31, 2017
  • Latest release: May 31, 2017
  • Number of updates: 13
  • Update frequency: every 0.8 days
  • Top authors: anxhnezbeda (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 718 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▼0.65MB] [CPU: ▼16.88ms] Passed 4 tests

Server-side resources used by Anexia Monitoring
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0340.17 ▼0.77
Dashboard /wp-admin3.33 ▲0.0351.69 ▲5.57
Posts /wp-admin/edit.php3.38 ▲0.0345.94 ▲1.40
Add New Post /wp-admin/post-new.php3.21 ▼2.6838.89 ▼62.43
Media Library /wp-admin/upload.php3.25 ▲0.0332.93 ▼5.71

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 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 Anexia Monitoring
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.19 ▼1.191.77 ▲0.1244.21 ▲6.86
Dashboard /wp-admin2,209 ▲174.84 ▼0.1198.56 ▼14.3935.73 ▼7.11
Posts /wp-admin/edit.php2,086 ▼31.99 ▼0.0435.34 ▲1.2730.96 ▼1.61
Add New Post /wp-admin/post-new.php1,537 ▲323.25 ▼0.06631.31 ▼36.9050.89 ▲1.26
Media Library /wp-admin/upload.php1,391 ▲64.21 ▲0.0599.14 ▼0.4843.90 ▼3.47

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
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Please fix the following
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/anexia-monitoring/anx-monitoring.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found


Plugin configuration 93% from 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
No plugin tags provided

anexia-monitoring/anx-monitoring.php 85% from 13 tests

"Anexia Monitoring" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("anexia-monitoring.php" instead of "anx-monitoring.php")
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

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
Good job! No executable or dangerous file extensions detected272 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity5.33
▷ Minimum class complexity4.00
▷ Maximum class complexity8.00
Average method complexity2.62
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
▷ Static methods787.50%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions1100.00%
▷ Global constants00.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 are no PNG files in this plugin