Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.89ms] Passed 4 tests
Analyzing server-side resources used by Analytics Reduce Bounce Rate
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.92 ▼3.49 |
Dashboard /wp-admin | 3.32 ▲0.01 | 43.13 ▼6.86 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.67 ▲1.62 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 78.13 ▼14.81 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.74 ▲3.34 |
Analytics Code /wp-admin/options-general.php?page=analytics-unbounce | 3.20 | 36.44 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
unbounce_analytics_id |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Analytics Reduce Bounce Rate
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 13.23 ▼1.15 | 1.67 ▼0.18 | 41.55 ▼1.69 |
Dashboard /wp-admin | 2,213 ▲25 | 4.88 ▼1.02 | 97.58 ▼17.54 | 38.25 ▼5.44 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.02 | 38.73 ▲0.90 | 35.37 ▲0.91 |
Add New Post /wp-admin/post-new.php | 1,536 ▼8 | 23.14 ▲4.67 | 673.00 ▲21.72 | 60.81 ▲7.32 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.16 ▼0.11 | 100.03 ▲0.83 | 44.02 ▲0.58 |
Analytics Code /wp-admin/options-general.php?page=analytics-unbounce | 778 | 2.02 | 25.75 | 25.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- unbounce_analytics_id
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/analytics-unbounce/analytics-unbounce.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== analytics-unbounce ===
)
analytics-unbounce/analytics-unbounce.php Passed 13 tests
The primary PHP file in "Analytics Reduce Bounce Rate" version 2.3 is used by WordPress to initiate all plugin functionality
82 characters long description:
Adds Google Analytics tracking code to WordPress and fixes bounce rate measurement
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin99 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 14 | 99 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected