Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼170.99ms] Passed 4 tests
Server-side resources used by Tweeker - Simple a/b and multivariate testing
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.13 | 35.40 ▲9.93 |
Dashboard /wp-admin | 3.09 ▲0.03 | 45.27 ▲0.79 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 42.37 ▼0.21 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 93.86 ▼681.16 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 33.85 ▼3.39 |
Tweeker /wp-admin/options-general.php?page=tweeker | 3.00 | 30.13 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Tweeker - Simple a/b and multivariate testing
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲112 | 15.87 ▲0.20 | 10.35 ▲1.49 | 48.32 ▲1.02 |
Dashboard /wp-admin | 2,978 ▲47 | 5.89 ▼0.02 | 148.01 ▲4.43 | 112.74 ▲5.43 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▼0.00 | 63.21 ▼2.04 | 93.58 ▲2.64 |
Add New Post /wp-admin/post-new.php | 1,503 ▼173 | 18.57 ▼0.23 | 370.61 ▼4.44 | 108.78 ▲1.47 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.07 ▲0.03 | 147.10 ▼0.14 | 115.39 ▼0.42 |
Tweeker /wp-admin/options-general.php?page=tweeker | 1,080 | 2.09 | 51.95 | 74.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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 fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/tweeker/tweeker.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: multivariate, cro, ab, conversion rate optimization, test...
tweeker/tweeker.php Passed 13 tests
The main PHP script in "Tweeker - Simple a/b and multivariate testing" version 1.1 is automatically included on every request by WordPress
85 characters long description:
Add Tweeker to your wordpress site. Simple a/b and multivariate testing on your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected92 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 15 | 58 | 92 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin