99% adcell-tracking-und-remarketing

Code Review | ADCELL Tracking

WordPress plugin ADCELL Tracking scored 99% from 54 tests.

About plugin

  • Plugin page: adcell-tracking-u...
  • Plugin version: 1.0.16
  • PHP compatiblity: 7.0.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-5.9
  • WordPress version: 5.9.2
  • First release: Jun 12, 2019
  • Latest release: Jan 25, 2022
  • Number of updates: 88
  • Update frequency: every 10.9 days
  • Top authors: adcell (100%)

Code review

54 tests

User reviews

1 review

Install metrics

400+ active / 2,843 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼294.55ms] Passed 4 tests

An overview of server-side resources used by ADCELL Tracking
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.0558.26 ▲2.21
Dashboard /wp-admin3.47 ▲0.0634.15 ▼0.73
Posts /wp-admin/edit.php3.70 ▲0.0643.25 ▲5.21
Add New Post /wp-admin/post-new.php6.94 ▼0.0495.29 ▼1,178.42
Media Library /wp-admin/upload.php3.35 ▲0.0525.41 ▼1.24
Adcell Tracking /wp-admin/options-general.php?page=roleWcAdcellTracking3.3223.22

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for ADCELL Tracking
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,798 ▲4418.27 ▲2.578.74 ▲1.792.39 ▼0.21
Dashboard /wp-admin2,900 ▲496.77 ▲0.58119.66 ▼31.18154.56 ▼6.40
Posts /wp-admin/edit.php2,703 ▲123.68 ▲0.3265.81 ▲0.53133.66 ▼10.57
Add New Post /wp-admin/post-new.php1,705 ▼621.30 ▲0.37416.85 ▼23.47156.99 ▼5.92
Media Library /wp-admin/upload.php1,713 ▲156.22 ▲0.72124.82 ▼22.26179.79 ▼5.42
Adcell Tracking /wp-admin/options-general.php?page=roleWcAdcellTracking1,0223.6355.3497.02

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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
Everything seems fine on the user side


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Contributors: The plugin contributors field is missing
The official readme.txt is a good inspiration

adcell-tracking-und-remarketing/roleWcAdcellTracking.php 85% from 13 tests

The main file in "ADCELL Tracking" v. 1.0.16 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Requires at least: The required version number must match the one declared in readme.txt ("4.6" instead of "3.2")
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("adcell-tracking-und-remarketing.php" instead of "roleWcAdcellTracking.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected199 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.20
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 functions12100.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
No PNG files were detected