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: ▲2.12MB] [CPU: ▲4.75ms] 75% from 4 tests
A check of server-side resources used by WassUp Real Time Analytics
Please fix the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,592.13ms on /wp-admin/admin.php?page=wassup-spia)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.85 ▲1.39 | 50.43 ▲9.16 |
Dashboard /wp-admin | 5.96 ▲2.62 | 63.54 ▲0.56 |
Posts /wp-admin/edit.php | 5.75 ▲2.39 | 66.80 ▲13.45 |
Add New Post /wp-admin/post-new.php | 8.22 ▲2.34 | 94.28 ▼4.17 |
Media Library /wp-admin/upload.php | 5.57 ▲2.34 | 54.26 ▲15.19 |
Options /wp-admin/admin.php?page=wassup-options | 6.14 | 68.09 |
SPY Visitors /wp-admin/admin.php?page=wassup-spia | 5.55 | 1,592.13 |
Visitor Details /wp-admin/admin.php?page=wassup | 5.55 | 53.99 |
Current Visitors Online /wp-admin/admin.php?page=wassup-online | 5.55 | 50.64 |
WassUp Stats /wp-admin/index.php?page=wassup-stats | 5.56 | 52.72 |
Server storage [IO: ▲4.66MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 439 new files
Database: 3 new tables, 9 new options
New tables |
---|
wp_wassup |
wp_wassup_meta |
wp_wassup_tmp |
New WordPress options |
---|
db_upgraded |
wassup_settings |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_wassup_online |
can_compress_scripts |
widget_recent-comments |
widget_wassup_topstats |
Browser metrics Passed 4 tests
Checking browser requirements for WassUp Real Time Analytics
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲143 | 13.60 ▼0.77 | 4.95 ▲3.19 | 40.13 ▲1.48 |
Dashboard /wp-admin | 2,250 ▲59 | 4.86 ▼0.04 | 97.44 ▼7.94 | 39.15 ▼7.89 |
Posts /wp-admin/edit.php | 2,130 ▲38 | 2.05 ▲0.02 | 40.36 ▼0.18 | 37.48 ▲0.72 |
Add New Post /wp-admin/post-new.php | 1,575 ▲61 | 18.57 ▲0.92 | 613.64 ▼74.20 | 54.00 ▼5.41 |
Media Library /wp-admin/upload.php | 1,426 ▲35 | 4.21 ▲0.02 | 96.80 ▼4.16 | 42.62 ▼5.66 |
Options /wp-admin/admin.php?page=wassup-options | 2,390 | 2.56 | 60.48 | 101.04 |
SPY Visitors /wp-admin/admin.php?page=wassup-spia | 1,962 | 6.54 | 136.55 | 124.82 |
Visitor Details /wp-admin/admin.php?page=wassup | 1,768 | 2.07 | 51.76 | 69.75 |
Current Visitors Online /wp-admin/admin.php?page=wassup-online | 1,361 | 2.18 | 41.84 | 48.61 |
WassUp Stats /wp-admin/index.php?page=wassup-stats | 1,771 | 2.09 | 50.69 | 60.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5453
Function like_escape is deprecated since version 4.0.0! Use wpdb::esc_like() instead.
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 50% 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
- > GET request to /wp-admin/admin.php?page=wassup-options
- > Notice in wp-content/plugins/wassup/lib/settings.php+823
Undefined offset: 0
- > GET request to /wp-admin/admin.php?page=wassup-options
- > Notice in wp-content/plugins/wassup/lib/settings.php+823
Trying to get property 'max_connections' of non-object
- > GET request to /wp-admin/admin.php?page=wassup-options
- > Warning in wp-content/plugins/wassup/lib/wassup.class.php+1401
mysqli_character_set_name() expects exactly 1 parameter, 0 given
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=wassup-spia
- > Console-api (warning) in unknown
https://maps.googleapis.com/maps/api/js?key=AIzaSyBsrNZDit1Y8xKMv_8VUhFT-Hghaj4pEkA 210:51 "Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading"
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
These attributes need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Wassup - Visitor Details view.), #2 (Wassup - SPY Visitors view.)
wassup/wassup.php 92% from 13 tests
This is the main PHP file of "WassUp Real Time Analytics" version 1.9.4.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 167 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin84,431 lines of code in 64 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 43 | 27,907 | 31,085 | 68,990 |
PHP | 14 | 286 | 2,536 | 13,661 |
CSS | 4 | 34 | 98 | 1,517 |
JavaScript | 3 | 20 | 33 | 263 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.66 |
Average class complexity | 106.56 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 442.00 |
Average method complexity | 10.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 170 | |
▷ Static methods | 51 | 30.00% |
▷ Public methods | 165 | 97.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 2.94% |
Functions | 90 | |
▷ Named functions | 90 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
310 compressed PNG files occupy 0.31MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/flags/il.png | 0.42KB | 0.50KB | 0.00% |
img/list-bg3.png | 0.19KB | 0.23KB | 0.00% |
img/shadow.png | 1.43KB | 1.63KB | 0.00% |
img/flags/el.png | 0.48KB | 0.70KB | 0.00% |
img/flags/sj.png | 0.50KB | 0.62KB | 0.00% |