Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲4.98MB] [CPU: ▲24.93ms] 75% from 4 tests
An overview of server-side resources used by WP Sessions Time Monitoring Full Automatic
Please have a look at the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,830.29ms on /wp-admin/admin.php?page=activitytime-addons)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.99 ▲5.48 | 85.87 ▲43.93 |
Dashboard /wp-admin | 27.30 ▲23.91 | 4,814,813.69 ▲4,814,746.34 |
Posts /wp-admin/edit.php | 9.01 ▲5.61 | 85.78 ▲29.85 |
Add New Post /wp-admin/post-new.php | 9.01 ▲3.08 | 75.01 ▼26.01 |
Media Library /wp-admin/upload.php | 9.01 ▲5.74 | 88.47 ▲51.95 |
Sessions activity /wp-admin/admin.php?page=actt_sessions | 9.01 | 88.37 |
Current Active /wp-admin/admin.php?page=actt_current_active | 9.04 | 72.63 |
By Post Type /wp-admin/admin.php?page=actt_time_by_postacc | 9.04 | 75.08 |
Support Forum /wp-admin/admin.php?page=activitytime-wp-support-forum | 9.04 | 60.01 |
Upgrade ➤ /wp-admin/admin.php?page=activitytime-pricing | 9.04 | 73.88 |
Contact Us /wp-admin/admin.php?page=activitytime-contact | 9.04 | 73.77 |
Time on page /wp-admin/admin.php?page=actt_time_per_pageacc | 9.04 | 75.61 |
Add-Ons /wp-admin/admin.php?page=activitytime-addons | 9.04 | 1,830.29 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.04 | 74.95 |
Analytic Graphs /wp-admin/admin.php?page=activitytime | 9.04 | 76.35 |
Server storage [IO: ▲6.25MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 289 new files
Database: 3 new tables, 16 new options
New tables |
---|
wp_actt_visited_pages |
wp_actt_user_sessions |
wp_actt_report |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
fs_active_plugins |
db_upgraded |
actt_general_section |
fs_debug_mode |
widget_recent-posts |
winter_mvc_active_plugins |
activitytime-menuitems |
actt_timeout_mins |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WP Sessions Time Monitoring Full Automatic
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,983 ▲222 | 14.11 ▼0.18 | 9.96 ▲8.31 | 45.49 ▲0.72 |
Dashboard /wp-admin | 2,296 ▲119 | 5.89 ▲0.24 | 103.42 ▲13.30 | 46.57 ▲4.17 |
Posts /wp-admin/edit.php | 2,206 ▲106 | 2.29 ▲0.30 | 36.53 ▼2.26 | 34.76 ▼4.78 |
Add New Post /wp-admin/post-new.php | 1,610 ▲82 | 22.34 ▼0.84 | 705.76 ▼25.21 | 39.12 ▼16.42 |
Media Library /wp-admin/upload.php | 1,498 ▲98 | 4.42 ▲0.26 | 113.46 ▲6.25 | 52.84 ▲3.31 |
Sessions activity /wp-admin/admin.php?page=actt_sessions | 2,173 | 4.71 | 106.04 | 61.49 |
Current Active /wp-admin/admin.php?page=actt_current_active | 3,392 | 4.13 | 112.23 | 344.12 |
By Post Type /wp-admin/admin.php?page=actt_time_by_postacc | 3,784 | 4.73 | 110.28 | 101.55 |
Support Forum /wp-admin/admin.php?page=activitytime-wp-support-forum | 1,542 | 3.93 | 82.35 | 84.71 |
Upgrade ➤ /wp-admin/admin.php?page=activitytime-pricing | 1,750 | 3.37 | 79.17 | 63.01 |
Contact Us /wp-admin/admin.php?page=activitytime-contact | 1,666 | 3.48 | 58.68 | 34.12 |
Time on page /wp-admin/admin.php?page=actt_time_per_pageacc | 3,540 | 4.19 | 99.07 | 113.68 |
Add-Ons /wp-admin/admin.php?page=activitytime-addons | 1,176 | 2.83 | 45.40 | 39.18 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,225 | 2.05 | 29.08 | 32.27 |
Analytic Graphs /wp-admin/admin.php?page=activitytime | 1,034 | 2.93 | 35.13 | 35.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie tables were found after uninstall: 3 tables
- wp_actt_user_sessions
- wp_actt_report
- wp_actt_visited_pages
- Zombie WordPress options were found after uninstall: 16 options
- widget_recent-posts
- actt_general_section
- widget_theysaidso_widget
- widget_recent-comments
- actt_timeout_mins
- can_compress_scripts
- db_upgraded
- fs_active_plugins
- actt_db_version
- winter_mvc_active_plugins
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 135 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=activitytime
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 135 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=activitytime
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 10× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/activitytime/public/partials/activitytime-public-display.php
- > /wp-content/plugins/activitytime/application/controllers/Actt_current_active.php
- > /wp-content/plugins/activitytime/application/controllers/Activitytime.php
- > /wp-content/plugins/activitytime/application/controllers/Actt_time_per_pageacc.php
- > /wp-content/plugins/activitytime/application/controllers/Actt_related.php
- > /wp-content/plugins/activitytime/application/controllers/Actt_sessions.php
- > /wp-content/plugins/activitytime/admin/partials/activitytime-admin-display.php
- > /wp-content/plugins/activitytime/application/controllers/Actt_time_by_postacc.php
- > /wp-content/plugins/activitytime/application/controllers/Actt_time_per_page.php
- > /wp-content/plugins/activitytime/application/controllers/Actt_contact_us.php
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/activitytime/application/views/actt_time_per_pageacc/index.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/activitytime/application/views/actt_sessions/index.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/activitytime/vendor/Winter_MVC/init.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/activitytime/application/views/actt_time_by_post_pageacc/index.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/activitytime/shortcodes/actt_time_page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/activitytime/application/views/activitytime/index.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/activitytime/application/views/actt_current_active/index.php:5
- > PHP Fatal error
Uncaught Error: Class 'CI_Model' not found in wp-content/plugins/activitytime/application/core/MY_Model.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function echo_js() in wp-content/plugins/activitytime/application/views/general/footer.php:67
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/activitytime/application/views/actt_related/index.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (Sessions time and time per page analytics graphs), #2 (Activity time tracking per page), #3 (Activity time tracking per session), #4 (Activity time By Post Type)
activitytime/activitytime.php 92% from 13 tests
"WP Sessions Time Monitoring Full Automatic" version 1.0.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 164 characters long)
Code Analysis 97% from 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
There were no executable files found in this plugin55,414 lines of code in 217 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 166 | 10,647 | 19,238 | 41,753 |
CSS | 27 | 1,004 | 72 | 6,719 |
JavaScript | 16 | 806 | 839 | 3,036 |
SVG | 2 | 0 | 0 | 2,959 |
Markdown | 2 | 82 | 0 | 405 |
PO File | 2 | 158 | 280 | 369 |
Sass | 1 | 36 | 0 | 164 |
HTML | 1 | 2 | 0 | 9 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 65.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 77 | |
▷ Abstract classes | 2 | 2.60% |
▷ Concrete classes | 75 | 97.40% |
▷ Final classes | 0 | 0.00% |
Methods | 1,502 | |
▷ Static methods | 202 | 13.45% |
▷ Public methods | 1,099 | 73.17% |
▷ Protected methods | 23 | 1.53% |
▷ Private methods | 380 | 25.30% |
Functions | 203 | |
▷ Named functions | 200 | 98.52% |
▷ Anonymous functions | 3 | 1.48% |
Constants | 152 | |
▷ Global constants | 105 | 69.08% |
▷ Class constants | 47 | 30.92% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.10MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/details_close.png | 0.67KB | 0.79KB | 0.00% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
screenshot-4.png | 81.11KB | 37.32KB | ▼ 53.99% |
admin/img/details_open.png | 0.69KB | 0.80KB | 0.00% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |