Benchmarks
Plugin footprint Passed 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.02MB] [CPU: ▼140.79ms] Passed 4 tests
An overview of server-side resources used by Advanced ActiveCampaign Site Tracking
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 34.70 ▲14.92 |
Dashboard /wp-admin | 3.08 ▲0.03 | 43.69 ▼3.32 |
Posts /wp-admin/edit.php | 3.13 ▲0.03 | 44.78 ▲0.34 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 89.36 ▼560.57 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 31.51 ▲0.39 |
AC Tracking /wp-admin/options-general.php?page=advanced_ac_settings_admin | 2.99 | 24.19 |
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: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced ActiveCampaign Site Tracking
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,685 ▲89 | 15.81 ▲0.19 | 8.40 ▼1.37 | 44.20 ▼2.37 |
Dashboard /wp-admin | 2,975 ▲41 | 5.87 ▼0.10 | 145.77 ▲1.08 | 108.09 ▲1.32 |
Posts /wp-admin/edit.php | 2,744 ▲8 | 2.72 ▼0.00 | 66.51 ▼0.74 | 88.24 ▲2.47 |
Add New Post /wp-admin/post-new.php | 1,686 ▼1,948 | 18.79 ▲3.60 | 394.19 ▼187.57 | 110.83 ▲3.08 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.00 ▼0.01 | 166.27 ▲2.77 | 106.45 ▼9.94 |
AC Tracking /wp-admin/options-general.php?page=advanced_ac_settings_admin | 1,034 | 2.10 | 52.50 | 78.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Everything seems fine, however this is by no means an exhaustive test
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
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: activecampaign, analytics, tracking, marketing automation
advanced-activecampaign-site-tracking/advanced-ac-tracking.php 85% from 13 tests
"Advanced ActiveCampaign Site Tracking" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("advanced-activecampaign-site-tracking.php" instead of "advanced-ac-tracking.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected113 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 22 | 29 | 113 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin