Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/omnileads-scripts-and-tags-manager/omnileads-scripts-tags-manager.php+57
Constant OST_SCRIPT_PATH already defined
Server metrics [RAM: ▼1.56MB] [CPU: ▼187.38ms] Passed 4 tests
An overview of server-side resources used by OmniLeads Scripts and Tags Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼0.65 | 6.27 ▼16.65 |
Dashboard /wp-admin | 2.08 ▼0.97 | 8.29 ▼31.56 |
Posts /wp-admin/edit.php | 2.08 ▼1.02 | 8.45 ▼32.16 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.35 | 9.07 ▼661.86 |
Media Library /wp-admin/upload.php | 2.08 ▼0.92 | 8.23 ▼23.94 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 3 new options
New WordPress options |
---|
ost_version |
ost_tagmanager_tag_body |
drm_tags |
Browser metrics Passed 4 tests
An overview of browser requirements for OmniLeads Scripts and Tags Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,721 ▲125 | 15.73 ▲0.19 | 10.03 ▲0.62 | 48.95 ▲1.75 |
Dashboard /wp-admin | 2,982 ▲51 | 5.92 ▼0.07 | 139.50 ▼4.76 | 145.70 ▲35.69 |
Posts /wp-admin/edit.php | 2,773 ▲34 | 2.70 ▼0.01 | 57.47 ▼7.81 | 83.97 ▼7.22 |
Add New Post /wp-admin/post-new.php | 1,513 ▲13 | 18.43 ▼0.08 | 365.27 ▲2.82 | 115.99 ▲11.53 |
Media Library /wp-admin/upload.php | 1,770 ▼37 | 4.99 ▼0.02 | 126.97 ▼26.49 | 146.86 ▲27.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/omnileads-scripts-and-tags-manager/omnileads-scripts-tags-manager.php+49
Undefined index: tab
- Zombie WordPress options were found after uninstall: 3 options
- drm_tags
- ost_tagmanager_tag_body
- ost_version
Smoke tests 50% 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 0% 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 take a closer look at the following
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/omnileads-scripts-and-tags-manager/omnileads-scripts-tags-manager.php
- > /wp-content/plugins/omnileads-scripts-and-tags-manager/dynremarketing.ctp.php
- > /wp-content/plugins/omnileads-scripts-and-tags-manager/tabs.ctp.php
- > /wp-content/plugins/omnileads-scripts-and-tags-manager/help.ctp.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/omnileads-scripts-and-tags-manager/newdrmtag.ctp.php:2
- > PHP Fatal error
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, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Plugin options page
), #2 (Add script / code example
), #3 (Dynamic remarketing enabled
) - Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
omnileads-scripts-and-tags-manager/omnileads-scripts-tags-manager.php 85% from 13 tests
"OmniLeads Scripts and Tags Manager" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 151 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("omnileads-scripts-and-tags-manager.php" instead of "omnileads-scripts-tags-manager.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,054 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 162 | 152 | 1,054 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 105.00 |
▷ Minimum class complexity | 105.00 |
▷ Maximum class complexity | 105.00 |
Average method complexity | 5.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 16 | 64.00% |
▷ Public methods | 24 | 96.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 15 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
13 compressed PNG files occupy 0.29MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/off16x16.png | 0.52KB | 0.45KB | ▼ 13.45% |
on.png | 0.60KB | 0.52KB | ▼ 13.73% |
images/icon.png | 0.60KB | 0.62KB | 0.00% |
off.png | 0.55KB | 0.48KB | ▼ 13.20% |
images/off16x16red.png | 0.55KB | 0.48KB | ▼ 13.20% |