Benchmarks
Plugin footprint 65% from 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.06MB] [CPU: ▼11.49ms] Passed 4 tests
This is a short check of server-side resources used by A/B See
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.06 | 38.48 ▼3.01 |
Dashboard /wp-admin | 3.41 ▲0.03 | 44.64 ▼19.90 |
Posts /wp-admin/edit.php | 3.52 ▲0.13 | 48.10 ▲0.46 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.07 | 79.92 ▼23.52 |
Media Library /wp-admin/upload.php | 3.33 ▲0.07 | 38.87 ▲3.24 |
Server storage [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: no files
Database: 2 new tables, 6 new options
New tables |
---|
wp_ab_see |
wp_ab_see_tracking |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for A/B See
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 14.47 ▲0.10 | 1.62 ▼0.20 | 37.91 ▼7.44 |
Dashboard /wp-admin | 2,222 ▲37 | 4.85 ▼1.04 | 110.65 ▲7.12 | 43.51 ▲5.75 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.00 ▲0.03 | 38.12 ▲2.15 | 34.45 ▼0.56 |
Add New Post /wp-admin/post-new.php | 1,555 ▲27 | 18.04 ▼0.32 | 620.06 ▲4.67 | 66.60 ▲17.65 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.21 ▲0.01 | 97.21 ▼3.67 | 41.30 ▼2.49 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_ab_see
- wp_ab_see_tracking
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/ab-see/ab-see.php on line 36
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/ab-see/ab-see.php on line 37
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ab-see/ab-see.php:39
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: ab testing, testing, split test, website optimization, ab-test...
ab-see/ab-see.php Passed 13 tests
This is the main PHP file of "A/B See" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
58 characters long description:
Straightforward shortcodes for A/B testing with WordPress.
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
Everything looks great! No dangerous files found in this plugin443 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 98 | 20 | 443 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 21 | |
▷ Static methods | 1 | 4.76% |
▷ Public methods | 21 | 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 | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin