Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/user-recording/smart-session-recording-config.php+7
Undefined variable: wpdb
Server metrics [RAM: ▼0.84MB] [CPU: ▼33.50ms] Passed 4 tests
A check of server-side resources used by User Recording For WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 47.60 ▲1.81 |
Dashboard /wp-admin | 3.11 ▼0.20 | 30.15 ▼21.99 |
Posts /wp-admin/edit.php | 3.11 ▼0.25 | 31.08 ▼26.02 |
Add New Post /wp-admin/post-new.php | 3.11 ▼2.78 | 30.00 ▼84.55 |
Media Library /wp-admin/upload.php | 3.11 ▼0.12 | 34.68 ▼1.44 |
Support /wp-admin/admin.php?page=user-recording/user-recording.phpsupport | 3.11 | 29.80 |
User Recording For WordPress /wp-admin/admin.php?page=wp_session_recording_menu | 3.11 | 31.19 |
Settings /wp-admin/admin.php?page=user-recording/user-recording.phpsettings | 3.11 | 29.09 |
Server storage [IO: ▲7.57MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 168 new files
Database: 4 new tables, 7 new options
New tables |
---|
smart_session_recording_detail |
wp_smart_session_recording_detail |
smart_session_recording_header |
wp_smart_session_recording_header |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
SMART_FORMS_LATEST_DB_VERSION |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for User Recording For WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,953 ▲192 | 15.13 ▲0.96 | 25.24 ▲23.47 | 39.35 ▼1.75 |
Dashboard /wp-admin | 2,253 ▲76 | 5.66 ▼0.01 | 92.84 ▲0.86 | 42.88 ▼5.33 |
Posts /wp-admin/edit.php | 2,156 ▲53 | 1.96 ▼0.01 | 41.22 ▼0.10 | 43.86 ▲7.53 |
Add New Post /wp-admin/post-new.php | 1,425 ▼104 | 20.11 ▼2.78 | 524.78 ▼68.50 | 137.72 ▲90.00 |
Media Library /wp-admin/upload.php | 1,458 ▲58 | 4.20 ▼0.02 | 107.42 ▼1.47 | 51.09 ▲8.54 |
Support /wp-admin/admin.php?page=user-recording/user-recording.phpsupport | 895 | 2.02 | 26.65 | 78.16 |
User Recording For WordPress /wp-admin/admin.php?page=wp_session_recording_menu | 981 | 3.87 | 74.92 | 49.96 |
Settings /wp-admin/admin.php?page=user-recording/user-recording.phpsettings | 906 | 3.14 | 54.60 | 37.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-admin/includes/upgrade.php+2917
Undefined index: index_type
- This plugin does not fully uninstall, leaving 4 tables in the database
- wp_smart_session_recording_header
- smart_session_recording_detail
- wp_smart_session_recording_detail
- smart_session_recording_header
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- SMART_FORMS_LATEST_DB_VERSION
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=user-recording/user-recording.phpsettings
- > Notice in wp-admin/includes/upgrade.php+2917
Undefined index: index_type
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=user-recording/user-recording.phpsettings
- > Notice in wp-admin/includes/upgrade.php+2923
Undefined index: index_name
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=user-recording/user-recording.phpsettings
- > Notice in wp-admin/includes/upgrade.php+2926
Undefined index: index_columns
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=user-recording/user-recording.phpsettings
- > Notice in wp-admin/includes/upgrade.php+2957
Undefined index: column_name
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=user-recording/user-recording.phpsettings
- > Warning in wp-content/plugins/user-recording/user-recording.php+184
Use of undefined constant SMART_FORMS_LATEST_DB_VERSION - assumed 'SMART_FORMS_LATEST_DB_VERSION' (this will throw an Error in a future version of PHP)
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
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to a member function get_var() on null in wp-content/plugins/user-recording/smart-session-recording-ajax.php:59
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/user-recording/screens/player.php:9
- > PHP Notice
Undefined index: duration in wp-content/plugins/user-recording/smart-session-recording-ajax.php on line 54
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/user-recording/smart-session-recording-config.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/user-recording/screens/child_player.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/user-recording/smart-session-recording-config.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/user-recording/screens/settings.php:2
- > PHP Notice
Undefined index: uniqid in wp-content/plugins/user-recording/smart-session-recording-ajax.php on line 53
- > PHP Warning
Use of undefined constant SMART_SESSION_RECORDING_URL - assumed 'SMART_SESSION_RECORDING_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/user-recording/screens/player.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/user-recording/screens/support.php:2
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: capture, session recording, user recording, recording
user-recording/user-recording.php 85% from 13 tests
The main PHP file in "User Recording For WordPress" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
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
No dangerous file extensions were detected46,216 lines of code in 110 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 48 | 6,201 | 14,986 | 30,798 |
CSS | 5 | 18 | 24 | 7,356 |
TypeScript | 36 | 855 | 1,257 | 3,644 |
SVG | 3 | 0 | 0 | 3,247 |
PHP | 15 | 188 | 219 | 912 |
JSX | 2 | 1 | 1 | 243 |
JSON | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 26 | 72.22% |
▷ Public methods | 31 | 86.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.89% |
Functions | 28 | |
▷ Named functions | 18 | 64.29% |
▷ Anonymous functions | 10 | 35.71% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo.png | 17.99KB | 6.95KB | ▼ 61.38% |
img/mouse.png | 3.01KB | 0.27KB | ▼ 91.16% |
img/icon.png | 3.39KB | 0.83KB | ▼ 75.63% |