Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼1.25MB] [CPU: ▼45.04ms] Passed 4 tests
Analyzing server-side resources used by VISITLEAD Live Chat and Realtime Monitoring
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.73 ▼0.73 | 11.87 ▼31.81 |
Dashboard /wp-admin | 2.76 ▼0.54 | 16.63 ▼34.22 |
Posts /wp-admin/edit.php | 2.77 ▼0.59 | 15.94 ▼32.23 |
Add New Post /wp-admin/post-new.php | 2.76 ▼3.12 | 17.70 ▼81.91 |
Media Library /wp-admin/upload.php | 2.76 ▼0.46 | 16.24 ▼17.17 |
Setup /wp-admin/options-general.php?page=visitlead | 2.77 | 15.50 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
visitlead_cid |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for VISITLEAD Live Chat and Realtime Monitoring
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲76 | 14.40 ▲0.03 | 1.67 ▼0.04 | 41.00 ▼11.96 |
Dashboard /wp-admin | 2,214 ▲26 | 5.79 ▼0.11 | 104.58 ▼2.84 | 40.03 ▼5.32 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.11 ▲0.09 | 38.12 ▲1.46 | 31.77 ▼5.26 |
Add New Post /wp-admin/post-new.php | 1,543 ▲14 | 23.24 ▲5.10 | 667.27 ▲8.79 | 54.74 ▼3.72 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.24 ▼0.01 | 101.71 ▲0.78 | 44.37 ▲1.73 |
Setup /wp-admin/options-general.php?page=visitlead | 852 | 2.15 | 25.83 | 28.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method visitlead::init() should not be called statically
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- visitlead_cid
- widget_recent-comments
- db_upgraded
- 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 server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=visitlead
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method visitlead::init() should not be called statically
- > GET request to /wp-admin/options-general.php?page=visitlead
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method visitlead::add_settings_page() should not be called statically
- > GET request to /wp-admin/options-general.php?page=visitlead
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method visitlead::register_settings() should not be called statically
- > GET request to /wp-admin/options-general.php?page=visitlead
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method visitlead::admin_notice() should not be called statically
- > GET request to /wp-admin/options-general.php?page=visitlead
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method visitlead::settings_page() should not be called statically
- > GET request to /wp-admin/options-general.php?page=visitlead
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=visitlead
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/visitlead/visitlead.php:103
- > PHP Notice
Undefined variable: in_visitlead in wp-content/plugins/visitlead/visitlead.admin.php on line 1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 22 tag instead of maximum 10
visitlead/visitlead.php Passed 13 tests
This is the main PHP file of "VISITLEAD Live Chat and Realtime Monitoring" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
66 characters long description:
VISITLEAD PlugIn for Wordpress. Real-Time-Monitoring and Live Chat
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
Good job! No executable or dangerous file extensions detected112 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 19 | 9 | 112 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
logo.png | 3.38KB | 2.12KB | ▼ 37.29% |
visitlead.png | 3.38KB | 2.12KB | ▼ 37.29% |