Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/conductrics-webactions/includes/wa-runtime.php+6
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.96MB] [CPU: ▼55.15ms] Passed 4 tests
This is a short check of server-side resources used by Conductrics Web Actions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.02 ▼1.44 | 5.13 ▼38.13 |
Dashboard /wp-admin | 2.04 ▼1.26 | 5.70 ▼51.60 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 7.38 ▼41.98 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.93 ▼88.87 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.62 ▼31.33 |
Conductrics Actions /wp-admin/options-general.php?page=conductrics-wa-settings | 2.05 | 6.02 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Conductrics Web Actions
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲41 | 14.78 ▲0.64 | 1.98 ▼0.05 | 42.30 ▼3.59 |
Dashboard /wp-admin | 2,208 ▲31 | 5.71 ▼0.01 | 89.28 ▼5.96 | 42.65 ▲0.48 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 2.10 ▼0.03 | 37.96 ▼0.02 | 36.35 ▲0.73 |
Add New Post /wp-admin/post-new.php | 6,240 ▲4,709 | 18.90 ▼4.37 | 955.39 ▲284.21 | 53.05 ▼1.77 |
Media Library /wp-admin/upload.php | 1,424 ▲30 | 4.32 ▲0.06 | 101.08 ▲1.59 | 46.79 ▲2.03 |
Conductrics Actions /wp-admin/options-general.php?page=conductrics-wa-settings | 845 | 2.25 | 26.88 | 31.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/conductrics-webactions/includes/wa-runtime.php+6
Trying to access array offset on value of type bool
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=conductrics-wa-settings
- > Notice in wp-content/plugins/conductrics-webactions/includes/wa-settings.php+273
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=conductrics-wa-settings
- > Notice in wp-content/plugins/conductrics-webactions/includes/wa-settings.php+73
Undefined index: owner
- > GET request to /wp-admin/options-general.php?page=conductrics-wa-settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=conductrics-wa-settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 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
Please take a closer look at the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/conductrics-webactions/includes/wa-settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/conductrics-webactions/includes/wa-runtime.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/conductrics-webactions/includes/wa-runtime.php:4
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: analytics, split testing, experiments, targeting, multivariate...
conductrics-webactions/conductrics-webactions.php 92% from 13 tests
The main PHP script in "Conductrics Web Actions" version 0.3.5 is automatically included on every request by WordPress
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 153 characters long)
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
Success! There were no dangerous files found in this plugin688 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 26 | 38 | 342 |
JavaScript | 2 | 29 | 18 | 304 |
CSS | 1 | 1 | 4 | 42 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.26MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-4.png | 35.60KB | 12.02KB | ▼ 66.24% |
css/refresh-icon.png | 0.90KB | 0.94KB | 0.00% |
assets/screenshot-1.png | 91.12KB | 30.34KB | ▼ 66.70% |
assets/screenshot-2.png | 66.11KB | 21.71KB | ▼ 67.15% |
assets/screenshot-3.png | 74.40KB | 25.81KB | ▼ 65.31% |