Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.69ms] Passed 4 tests
Analyzing server-side resources used by Tyxo Monitoring
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.07 ▼4.63 |
Dashboard /wp-admin | 3.36 ▲0.05 | 45.34 ▼1.58 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.11 ▲1.98 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 87.36 ▼2.54 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 39.72 ▲2.27 |
Live Tracker /wp-admin/admin.php?page=tyxo-menu-last100 | 3.25 | 30.94 |
Tyxo Monitoring /wp-admin/admin.php?page=tyxo-menu-visit | 3.25 | 33.24 |
Uptime /wp-admin/admin.php?page=tyxo-menu-uptime-overview | 3.25 | 31.98 |
Settings /wp-admin/admin.php?page=tyxo-menu-settings | 3.29 | 33.43 |
Status Page /wp-admin/admin.php?page=tyxo-menu-statuspage | 3.25 | 31.77 |
Server storage [IO: ▲5.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 277 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Tyxo Monitoring: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲89 | 13.21 ▼1.16 | 1.65 ▼0.18 | 41.72 ▼3.69 |
Dashboard /wp-admin | 2,238 ▲50 | 5.80 ▲0.94 | 100.52 ▼7.01 | 41.34 ▼2.65 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.04 ▲0.01 | 36.24 ▼3.45 | 32.26 ▼2.96 |
Add New Post /wp-admin/post-new.php | 1,561 ▲42 | 23.29 ▲0.04 | 660.40 ▼18.28 | 54.08 ▼1.36 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.21 ▲0.02 | 99.50 ▼7.19 | 46.12 ▼0.10 |
Live Tracker /wp-admin/admin.php?page=tyxo-menu-last100 | 816 | 2.19 | 29.20 | 48.37 |
Tyxo Monitoring /wp-admin/admin.php?page=tyxo-menu-visit | 812 | 3.46 | 83.65 | 27.16 |
Uptime /wp-admin/admin.php?page=tyxo-menu-uptime-overview | 834 | 2.27 | 26.07 | 32.14 |
Settings /wp-admin/admin.php?page=tyxo-menu-settings | 977 | 2.29 | 29.82 | 70.78 |
Status Page /wp-admin/admin.php?page=tyxo-menu-statuspage | 834 | 2.29 | 26.01 | 31.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/tyxo-monitoring/lib/pages/uptime/overview.php
- > /wp-content/plugins/tyxo-monitoring/lib/pages/overview.php
- > /wp-content/plugins/tyxo-monitoring/lib/pages/tracker/last100.php
- > /wp-content/plugins/tyxo-monitoring/lib/pages/statuspage/overview.php
- 16× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
Use of undefined constant TYXO_WEBCHECK_BIG_ID - assumed 'TYXO_WEBCHECK_BIG_ID' (this will throw an Error in a future version of PHP) in wp-content/plugins/tyxo-monitoring/lib/pages/uptime/overview.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/tyxo-monitoring/tyxo-monitoring.php:19
- > PHP Fatal error
Uncaught Error: Class 'TyxoClass' not found in wp-content/plugins/tyxo-monitoring/lib/settings/settings.php:55
- > PHP Warning
Use of undefined constant TYXO_WEBCHECK_BIG_ID - assumed 'TYXO_WEBCHECK_BIG_ID' (this will throw an Error in a future version of PHP) in wp-content/plugins/tyxo-monitoring/lib/pages/uptime/overview.php on line 44
- > PHP Warning
Use of undefined constant TYXO_API_KEY - assumed 'TYXO_API_KEY' (this will throw an Error in a future version of PHP) in wp-content/plugins/tyxo-monitoring/lib/settings/settings.php on line 41
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/tyxo-monitoring/lib/settings/settings_none_auth.php:16
- > PHP Warning
Use of undefined constant TYXO_API_KEY - assumed 'TYXO_API_KEY' (this will throw an Error in a future version of PHP) in wp-content/plugins/tyxo-monitoring/lib/pages/overview.php on line 15
- > PHP Warning
Use of undefined constant TYXO_TRACKER_BIG_ID - assumed 'TYXO_TRACKER_BIG_ID' (this will throw an Error in a future version of PHP) in wp-content/plugins/tyxo-monitoring/lib/pages/tracker/last100.php on line 16
- > PHP Warning
Use of undefined constant TYXO_TRACKER_BIG_ID - assumed 'TYXO_TRACKER_BIG_ID' (this will throw an Error in a future version of PHP) in wp-content/plugins/tyxo-monitoring/lib/pages/tracker/last100.php on line 44
- > PHP Warning
Use of undefined constant TYXO_API_KEY - assumed 'TYXO_API_KEY' (this will throw an Error in a future version of PHP) in wp-content/plugins/tyxo-monitoring/lib/pages/uptime/overview.php on line 7
- > PHP Warning
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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #5 (**Friend Connections** - Let your users make connections so they can track the activity of others, or filter to show only those users they care about the most.), #6 (**Private Messaging** - Private messaging will allow your users to talk to each other directly and in private. Not just limited to one-on-one discussions, your users can send messages to multiple recipients.), #7 (**Site Tracking** - Track posts and comments in the activity stream, and allow your users to add their own blogs using WordPress' Multisite feature.), #8 (**Notifications** - Keep your members up-to-date with relevant activity via toolbar and email notifications.)
tyxo-monitoring/tyxo-monitoring.php 92% from 13 tests
The main PHP file in "Tyxo Monitoring" ver. 1.2 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: Please use dashes and lowercase characters for text domains
Code Analysis Passed 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 plugin24,521 lines of code in 269 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 254 | 0 | 0 | 23,474 |
PHP | 9 | 301 | 78 | 638 |
CSS | 3 | 74 | 7 | 302 |
JavaScript | 3 | 53 | 54 | 107 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 9.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 13 | 48.15% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/static/ic/tyxo_logo_bgwhite.png | 12.41KB | 6.36KB | ▼ 48.74% |