Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▲1.17ms] Passed 4 tests
An overview of server-side resources used by Stalkfish - Error Monitoring and Activity Log Monitoring
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 47.02 ▲3.95 |
Dashboard /wp-admin | 3.56 ▲0.25 | 51.82 ▼6.26 |
Posts /wp-admin/edit.php | 3.67 ▲0.32 | 52.38 ▲6.72 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.26 | 93.03 ▲0.27 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 42.59 ▲7.74 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 3.65 | 48.44 |
Setup Stalkfish /wp-admin/admin.php?page=stalkfish-setup | 3.51 | 37.15 |
Stalkfish /wp-admin/options-general.php?page=sf-settings | 3.49 | 37.15 |
Server storage [IO: ▲9.15MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 662 new files
Database: 4 new tables, 14 new options
New tables |
---|
wp_actionscheduler_actions |
wp_actionscheduler_logs |
wp_actionscheduler_claims |
wp_actionscheduler_groups |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
sf_request_type |
sf_app_api_key |
action_scheduler_lock_async-request-runner |
sf_options |
schema-ActionScheduler_StoreSchema |
widget_recent-comments |
action_scheduler_hybrid_store_demarkation |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Stalkfish - Error Monitoring and Activity Log Monitoring
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲83 | 13.20 ▼1.23 | 1.91 ▲0.15 | 42.59 ▼6.82 |
Dashboard /wp-admin | 2,224 ▲33 | 5.80 ▲0.88 | 98.79 ▼10.99 | 42.70 ▼4.66 |
Posts /wp-admin/edit.php | 2,106 ▲20 | 2.02 ▼0.03 | 38.95 ▲2.87 | 35.51 ▼0.83 |
Add New Post /wp-admin/post-new.php | 1,551 ▲17 | 23.15 ▲0.08 | 614.39 ▲1.56 | 50.47 ▼10.66 |
Media Library /wp-admin/upload.php | 1,400 ▲18 | 4.18 ▼0.08 | 97.64 ▼0.19 | 41.83 ▼1.24 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,214 | 1.97 | 28.44 | 29.00 |
Setup Stalkfish /wp-admin/admin.php?page=stalkfish-setup | 944 | 2.08 | 26.87 | 21.77 |
Stalkfish /wp-admin/options-general.php?page=sf-settings | 891 | 2.18 | 29.24 | 28.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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
- Zombie tables detected upon uninstall: 4 tables
- wp_actionscheduler_groups
- wp_actionscheduler_claims
- wp_actionscheduler_logs
- wp_actionscheduler_actions
- This plugin does not fully uninstall, leaving 14 options in the database
- theysaidso_admin_options
- schema-ActionScheduler_LoggerSchema
- sf_app_api_key
- db_upgraded
- action_scheduler_lock_async-request-runner
- action_scheduler_hybrid_store_demarkation
- widget_recent-comments
- sf_request_type
- widget_theysaidso_widget
- sf_options
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/stalkfish/third-party/vendor/symfony/mime/Resources/bin/update_mime_types.php
- 285× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Trait 'Stalkfish\\Dependencies\\Illuminate\\Support\\Traits\\Macroable' not found in wp-content/plugins/stalkfish/third-party/vendor/illuminate/support/Optional.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'Stalkfish\\ErrorTracker\\Truncation\\Abstract_Truncation_Strategy' not found in wp-content/plugins/stalkfish/includes/ErrorTracker/Truncation/class-trim-strings-strategy.php:5
- > PHP Fatal error
Uncaught Error: Class 'Stalkfish\\Dependencies\\Illuminate\\Support\\Facades\\Facade' not found in wp-content/plugins/stalkfish/third-party/vendor/illuminate/support/Facades/Bus.php:35
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_FinishedAction' not found in wp-content/plugins/stalkfish/libraries/action-scheduler/classes/actions/ActionScheduler_CanceledAction.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Stalkfish\\Dependencies\\Symfony\\Component\\HttpFoundation\\Session\\SessionBagInterface' not found in wp-content/plugins/stalkfish/third-party/vendor/symfony/http-foundation/Session/Flash/FlashBagInterface.php:19
- > PHP Fatal error
Uncaught Error: Class 'Stalkfish\\Dependencies\\Symfony\\Component\\HttpFoundation\\Response' not found in wp-content/plugins/stalkfish/third-party/vendor/symfony/http-foundation/JsonResponse.php:24
- > PHP Fatal error
Uncaught Error: Class 'Stalkfish\\Dependencies\\Symfony\\Component\\HttpFoundation\\File\\File' not found in wp-content/plugins/stalkfish/third-party/vendor/symfony/http-foundation/File/UploadedFile.php:30
- > PHP Fatal error
Uncaught Error: Interface 'Stalkfish\\Dependencies\\Illuminate\\Contracts\\Cookie\\Factory' not found in wp-content/plugins/stalkfish/third-party/vendor/illuminate/contracts/Cookie/QueueingFactory.php:5
- > PHP Fatal error
Uncaught Error: Class 'Stalkfish\\Dependencies\\Illuminate\\Support\\Facades\\Facade' not found in wp-content/plugins/stalkfish/third-party/vendor/illuminate/support/Facades/URL.php:27
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schedule' not found in wp-content/plugins/stalkfish/libraries/action-scheduler/classes/abstracts/ActionScheduler_Abstract_RecurringSchedule.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: tracking, user log, security, monitoring, audit log...
stalkfish/stalkfish.php Passed 13 tests
The principal PHP file in "Stalkfish - Error Monitoring and Activity Log Monitoring" v. 1.2.1 is loaded by WordPress automatically on each request
125 characters long description:
Stalkfish actively tracks error, crashes, and activity log on your WordPress site and sends them to your Stalkfish dashboard.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected47,818 lines of code in 650 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 591 | 4,202 | 27,727 | 37,654 |
JavaScript | 55 | 2,496 | 662 | 9,581 |
CSS | 4 | 89 | 3 | 583 |
PHP code Passed 2 tests
This is a short overview 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.39 |
Average class complexity | 9.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 242.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 89 | |
Interfaces | 146 | |
Traits | 12 | |
Classes | 413 | |
▷ Abstract classes | 31 | 7.51% |
▷ Concrete classes | 382 | 92.49% |
▷ Final classes | 56 | 14.66% |
Methods | 3,833 | |
▷ Static methods | 519 | 13.54% |
▷ Public methods | 3,273 | 85.39% |
▷ Protected methods | 421 | 10.98% |
▷ Private methods | 139 | 3.63% |
Functions | 260 | |
▷ Named functions | 70 | 26.92% |
▷ Anonymous functions | 190 | 73.08% |
Constants | 235 | |
▷ Global constants | 8 | 3.40% |
▷ Class constants | 227 | 96.60% |
▷ Public constants | 189 | 83.26% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/app-logo.png | 8.64KB | 3.92KB | ▼ 54.63% |