Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.98ms] Passed 4 tests
Server-side resources used by SiteRecording by 500apps - Best Website Recording Plugin To Record User Behaviour
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▼0.05 | 23.03 ▼21.80 |
Dashboard /wp-admin | 3.34 ▲0.04 | 50.87 ▼3.08 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 45.19 ▲0.73 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 84.54 ▼7.76 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 36.08 ▲3.24 |
SiteRecording /wp-admin/admin.php?page=siterecording/classes/class.siterecordingplugin_siterecording.php | 3.21 | 30.94 |
Other apps by 500apps /wp-admin/admin.php?page=Othersiterecording | 3.23 | 30.65 |
Server storage [IO: ▲2.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by SiteRecording by 500apps - Best Website Recording Plugin To Record User Behaviour
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,539 ▲804 | 14.15 ▼0.23 | 135.61 ▲133.83 | 187.39 ▲142.67 |
Dashboard /wp-admin | 2,226 ▲38 | 4.88 ▼0.00 | 103.06 ▼11.73 | 72.32 ▲26.97 |
Posts /wp-admin/edit.php | 2,128 ▲42 | 2.11 ▲0.09 | 39.70 ▲3.78 | 32.99 ▼3.81 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 23.26 ▲0.04 | 735.96 ▲50.33 | 58.36 ▲0.47 |
Media Library /wp-admin/upload.php | 1,440 ▲52 | 4.22 ▲0.02 | 121.04 ▲17.40 | 43.75 ▲0.76 |
SiteRecording /wp-admin/admin.php?page=siterecording/classes/class.siterecordingplugin_siterecording.php | 5,548 | 51.79 | 567.41 | 71.90 |
Other apps by 500apps /wp-admin/admin.php?page=Othersiterecording | 791 | 2.12 | 24.87 | 25.37 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=siterecording/classes/class.siterecordingplugin_siterecording.php
- > Notice in wp-content/plugins/siterecording/classes/class.siterecordingplugin_siterecording.php+20
Trying to access array offset on value of type null
SRP 50% 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
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/siterecording/classes/other_products.php:2
- > PHP Notice
Undefined variable: siterecording_url in wp-content/plugins/siterecording/classes/siterecording_content.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/siterecording/classes/other_products.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/siterecording/siterecording.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=siterecording/classes/class.siterecordingplugin_siterecording.php
- > Console-api (severe) in unknown
https://infinity.500apps.com/js/chunk-vendors.4204576a.js 67:12050 TypeError: Cannot read properties of undefined (reading 'id')at eval (eval at _callee3$ (https://infinity.500apps.com/js/siterecording.2e6ba1f8.js:20:843039), :1:27)at _callee3$ (https://infinity.500apps.com/js/siterecording.2e6ba1f8.js:20:843039)at u (https://infinity.500apps.com/js/chunk-vendors.4204576a.js:191:44242)at Generator._invoke (https://infinity.500apps.com/js/chunk-vendors.4204576a.js:191:45564)at O.forEach.t. [as next] (https://infinity.500apps.com/js/chunk-vendors.4204576a.js:191:44665)at r (https://infinity.500apps.com/js/chunk-vendors.4204576a.js:297:1202)at c (https://infinity.500apps.com/js/chunk-vendors.4204576a.js:297:1405)
- > GET request to /wp-admin/admin.php?page=siterecording/classes/class.siterecordingplugin_siterecording.php
- > Console-api (severe) in unknown
https://infinity.500apps.com/js/chunk-vendors.4204576a.js 67:12050 TypeError: Cannot read properties of undefined (reading 'id')at https://infinity.500apps.com/js/app.b48ae614.js:1:6961893at u (https://infinity.500apps.com/js/chunk-vendors.4204576a.js:191:44242)at Generator._invoke (https://infinity.500apps.com/js/chunk-vendors.4204576a.js:191:45564)at O.forEach.t. [as next] (https://infinity.500apps.com/js/chunk-vendors.4204576a.js:191:44665)at r (https://infinity.500apps.com/js/chunk-vendors.4204576a.js:297:1202)at c (https://infinity.500apps.com/js/chunk-vendors.4204576a.js:297:1405)
- > GET request to /wp-admin/admin.php?page=siterecording/classes/class.siterecordingplugin_siterecording.php
- > Network (severe)
https://api.prod.500apps.com/location/public/country?limit=50 - Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID
- > GET request to /wp-admin/admin.php?page=siterecording/classes/class.siterecordingplugin_siterecording.php
- > Javascript (severe) in unknown
https://infinity.500apps.com/js/app.b48ae614.js 0:1621703 Uncaught TypeError: Cannot read properties of undefined (reading 'user_id')
- > GET request to /wp-admin/admin.php?page=siterecording/classes/class.siterecordingplugin_siterecording.php
- > Console-api (severe) in unknown
https://infinity.500apps.com/js/chunk-vendors.4204576a.js 67:12050 Error: Network Errorat t.exports (https://infinity.500apps.com/js/chunk-vendors.4204576a.js:80:3207)at p.onerror (https://infinity.500apps.com/js/chunk-vendors.4204576a.js:264:2603)
- > GET request to /wp-admin/admin.php?page=siterecording/classes/class.siterecordingplugin_siterecording.php
- > Network (severe)
https://api.prod.500apps.com/v2/siterecording/domain/websites?limit=50 - Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=siterecording/classes/class.siterecordingplugin_siterecording.php
- > Network (severe)
https://api.500apps.com/auth/v1/organization-free-subscription?limit=50 - Failed to load resource: the server responded with a status of 400 ()
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=siterecording/classes/class.siterecordingplugin_siterecording.php
- > Console-api (severe) in unknown
https://infinity.500apps.com/js/chunk-vendors.4204576a.js 67:12050 Error: Request failed with status code 400at t.exports (https://infinity.500apps.com/js/chunk-vendors.4204576a.js:80:3207)at t.exports (https://infinity.500apps.com/js/chunk-vendors.4204576a.js:112:3005)at p.onreadystatechange (https://infinity.500apps.com/js/chunk-vendors.4204576a.js:264:2485)
- > GET request to /wp-admin/admin.php?page=siterecording/classes/class.siterecordingplugin_siterecording.php
- > Network (severe)
https://api.500apps.com/auth/v1/users/domain_user_details?limit=50 - Failed to load resource: the server responded with a status of 400 ()
- > GET request to /wp-admin/admin.php?page=siterecording/classes/class.siterecordingplugin_siterecording.php
- > Network (severe)
https://api.500apps.com/v2/users/domain/domain_user?limit=950&fields=apps_admin,billing_admin,domain_id,email,id,is_active,name,pic_path,status,super_admin,theme,time_zone,users_admin - Failed to load resource: the server responded with a status of 400 ()
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=siterecording/classes/class.siterecordingplugin_siterecording.php
- > Javascript (severe) in unknown
https://infinity.500apps.com/js/chunk-vendors.4204576a.js 79:3206
- > GET request to /wp-admin/admin.php?page=siterecording/classes/class.siterecordingplugin_siterecording.php
- > Network (severe)
https://api.500apps.com/v2/users/domain/manage_my_apps?limit=950&&where=name=%27siterecording%27%20and%20is_active=1 - Failed to load resource: the server responded with a status of 400 ()
- > GET request to /wp-admin/admin.php?page=siterecording/classes/class.siterecordingplugin_siterecording.php
- > Console-api (warning) in unknown
https://static.hotjar.com/c/hotjar-3008425.js?sv=7 2:6863 "Hotjar not launching due to suspicious userAgent:" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/117.0.5938.149 Safari/537.36"
- > GET request to /wp-admin/admin.php?page=Othersiterecording
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot set properties of undefined (setting 'onclick')" "TypeError: Cannot set properties of undefined (setting 'onclick')\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/siterecording/js/siterecording_admin.js?ver=1696611539:49:16)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=Othersiterecording
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot set properties of undefined (setting 'onclick')
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
2 plugin tags: web siterecording, siterecording
siterecording/siterecording.php Passed 13 tests
The primary PHP file in "SiteRecording by 500apps - Best Website Recording Plugin To Record User Behaviour" version 0.1 is used by WordPress to initiate all plugin functionality
56 characters long description:
Record the entire visitor's journey across your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin2,141 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 0 | 1,621 |
PHP | 5 | 18 | 33 | 289 |
CSS | 1 | 1 | 5 | 169 |
JavaScript | 1 | 1 | 3 | 53 |
INI | 1 | 2 | 0 | 8 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 5 | 100.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
11 PNG files occupy 0.84MB with 0.48MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
classes/images/banner-772x250.png | 124.74KB | 63.36KB | ▼ 49.21% |
assets/screenshot-1.png | 78.15KB | 23.48KB | ▼ 69.96% |
assets/screenshot-6.png | 71.78KB | 24.16KB | ▼ 66.35% |
assets/icon-256x256.png | 5.72KB | 2.65KB | ▼ 53.61% |
assets/banner-772x250.png | 124.74KB | 63.36KB | ▼ 49.21% |