Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼7.96ms] Passed 4 tests
An overview of server-side resources used by Adjusted Bounce Rate
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 41.41 ▼2.71 |
Dashboard /wp-admin | 3.42 ▲0.12 | 49.37 ▼6.76 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 52.18 ▼12.70 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 88.23 ▼9.65 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 46.29 ▲11.97 |
Adjusted Bounce Rate /wp-admin/options-general.php?page=adjusted-bounce-rate | 3.31 | 36.01 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 8 new options
New WordPress options |
---|
adjusted-bounce-rate-db-version |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
adjusted-bounce-rate-options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Adjusted Bounce Rate
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲31 | 14.36 ▲0.07 | 2.47 ▲0.46 | 38.48 ▼4.22 |
Dashboard /wp-admin | 2,196 ▲19 | 5.55 ▼0.13 | 89.80 ▼0.17 | 40.43 ▼1.51 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.03 ▲0.05 | 38.81 ▼3.22 | 34.14 ▼0.03 |
Add New Post /wp-admin/post-new.php | 1,529 ▼11 | 21.05 ▼2.32 | 683.68 ▲62.58 | 48.93 ▼7.75 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.22 ▲0.14 | 97.56 ▼8.30 | 43.91 ▲1.95 |
Adjusted Bounce Rate /wp-admin/options-general.php?page=adjusted-bounce-rate | 898 | 2.13 | 22.09 | 30.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- adjusted-bounce-rate-db-version
- can_compress_scripts
- widget_theysaidso_widget
- adjusted-bounce-rate-options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- 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)
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
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/adjusted-bounce-rate/adjusted-bounce-rate.php:365
- > PHP Fatal error
Uncaught Error: Class 'Adjusted_Bounce_Rate' not found in wp-content/plugins/adjusted-bounce-rate/pages/settings.php:48
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
6 plugin tags: bounce rate, analytics, session duration, time on page, google analytics...
adjusted-bounce-rate/adjusted-bounce-rate.php Passed 13 tests
The principal PHP file in "Adjusted Bounce Rate" v. 1.2.1 is loaded by WordPress automatically on each request
134 characters long description:
A well-designed plugin that improves the accuracy of your bounce rate, time on page, and session duration metrics in Google Analytics.
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 plugin746 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 181 | 465 | 497 |
JavaScript | 3 | 83 | 94 | 190 |
Markdown | 1 | 34 | 0 | 59 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 31.50 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 53.12% |
▷ Protected methods | 15 | 46.88% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 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
There are no PNG files in this plugin