89% adcell-tracking-und-remarketing

Code Review | ADCELL Tracking

WordPress plugin ADCELL Tracking scored89%from 54 tests.

About plugin

  • Plugin page: adcell-tracking-u...
  • Plugin version: 1.0.19
  • PHP compatiblity: 7.0.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-6.3
  • WordPress version: 6.3.1
  • First release: Jun 12, 2019
  • Latest release: Oct 6, 2023
  • Number of updates: 93
  • Update frequency: every 17.0 days
  • Top authors: adcell (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /4,353 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▼9.93ms] Passed 4 tests

This is a short check of server-side resources used by ADCELL Tracking
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0536.43 ▼6.30
Dashboard /wp-admin3.37 ▲0.0248.68 ▼16.45
Posts /wp-admin/edit.php3.42 ▲0.0648.96 ▲0.70
Add New Post /wp-admin/post-new.php5.95 ▲0.0681.48 ▼17.66
Media Library /wp-admin/upload.php3.29 ▲0.0638.14 ▲3.94
Adcell Tracking /wp-admin/options-general.php?page=roleWcAdcellTracking3.2634.38

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for ADCELL Tracking
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,884 ▲13814.95 ▲0.5714.16 ▲11.9836.13 ▼1.92
Dashboard /wp-admin2,220 ▲326.28 ▲1.37118.52 ▲5.3939.85 ▼2.60
Posts /wp-admin/edit.php2,103 ▲112.62 ▲0.6251.01 ▲15.2939.79 ▲4.19
Add New Post /wp-admin/post-new.php1,538 ▲1923.30 ▲0.11680.03 ▲5.1236.35 ▼20.53
Media Library /wp-admin/upload.php1,402 ▲174.54 ▲0.35103.33 ▼1.0441.94 ▼4.65
Adcell Tracking /wp-admin/options-general.php?page=roleWcAdcellTracking8022.3435.5026.02

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments

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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
  • Contributors: The plugin contributors field is missing
You can take inspiration from this readme.txt

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

The primary PHP file in "ADCELL Tracking" version 1.0.19 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Requires at least: Required version must match the one declared in readme.txt ("4.6" instead of "3.2")
  • Main file name: The principal 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 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected203 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP343120203

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.21
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There are no PNG files in this plugin