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.00MB] [CPU: ▼9.94ms] Passed 4 tests
A check of server-side resources used by TurnClick Embed Code for WordPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.07 ▲1.59 |
Dashboard /wp-admin | 3.31 ▼0.03 | 47.12 ▼20.31 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.74 ▲1.68 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 80.28 ▼20.71 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.13 ▼0.32 |
TurnClick Settings /wp-admin/options-general.php?page=turnclick | 3.20 | 30.01 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by TurnClick Embed Code for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 14.73 ▲0.14 | 1.66 ▲0.07 | 37.71 ▼2.33 |
Dashboard /wp-admin | 2,214 ▲32 | 5.86 ▼0.02 | 106.96 ▲2.50 | 37.25 ▼8.64 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.00 ▲0.02 | 40.69 ▲2.73 | 34.86 ▲2.67 |
Add New Post /wp-admin/post-new.php | 1,608 ▲87 | 23.67 ▲0.59 | 657.96 ▲29.12 | 51.27 ▼2.39 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.21 ▲0.06 | 94.62 ▼3.68 | 40.86 ▲0.13 |
TurnClick Settings /wp-admin/options-general.php?page=turnclick | 790 | 2.06 | 23.59 | 26.64 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/turnclick/styles_and_scripts.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/turnclick/styles_and_scripts.php:4
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: personalization, turnclick, embed code, marketing, live page link
turnclick/turnclick.php Passed 13 tests
The primary PHP file in "TurnClick Embed Code for WordPress" version 1.0 is used by WordPress to initiate all plugin functionality
120 characters long description:
TurnClick's WordPress Plugin allows TurnClick users to automatically install the embed code on their WordPress websites.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected161 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 47 | 39 | 161 |
PHP code Passed 2 tests
Analyzing 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 | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 25.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin