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.55MB] [CPU: ▲20.29ms] Passed 4 tests
Server-side resources used by Fullworks Security Scanner
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.02 ▲1.55 | 65.55 ▲27.06 |
Dashboard /wp-admin | 4.90 ▲1.59 | 72.12 ▲21.21 |
Posts /wp-admin/edit.php | 4.95 ▲1.59 | 79.15 ▲32.03 |
Add New Post /wp-admin/post-new.php | 7.42 ▲1.53 | 108.91 ▲2.97 |
Media Library /wp-admin/upload.php | 4.76 ▲1.53 | 64.38 ▲29.91 |
Settings /wp-admin/admin.php?page=fullworks-scanner-settings | 4.74 | 60.19 |
Reports /wp-admin/admin.php?page=fullworks-scanner-code-scan-report | 4.83 | 60.18 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 4.95 | 75.59 |
Server storage [IO: ▲0.66MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 130 new files
Database: 5 new tables, 12 new options
New tables |
---|
wp_actionscheduler_groups |
wp_actionscheduler_logs |
wp_actionscheduler_claims |
wp_fwvs_file_audit |
wp_actionscheduler_actions |
New WordPress options |
---|
theysaidso_admin_options |
schema-ActionScheduler_LoggerSchema |
FULLWORKS_SCANNER_general |
schema-ActionScheduler_StoreSchema |
widget_recent-comments |
FULLWORKS_SCANNER_db_version |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
FULLWORKS_SCANNER_audit_schedule |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Fullworks Security Scanner
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.26 ▼0.31 | 1.61 ▼0.16 | 37.72 ▼4.42 |
Dashboard /wp-admin | 2,224 ▲43 | 5.58 ▼0.13 | 94.96 ▼7.02 | 41.74 ▼2.73 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.00 ▼0.04 | 38.81 ▲1.20 | 34.36 ▲0.39 |
Add New Post /wp-admin/post-new.php | 1,559 ▲31 | 18.09 ▼4.98 | 627.70 ▼44.87 | 64.99 ▲15.44 |
Media Library /wp-admin/upload.php | 1,426 ▲32 | 4.20 ▼0.04 | 95.95 ▼19.47 | 42.98 ▼7.26 |
Settings /wp-admin/admin.php?page=fullworks-scanner-settings | 1,136 | 2.32 | 38.74 | 33.95 |
Reports /wp-admin/admin.php?page=fullworks-scanner-code-scan-report | 1,136 | 2.02 | 25.65 | 32.16 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,414 | 1.79 | 23.41 | 30.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables detected upon uninstall: 4 tables
- wp_actionscheduler_claims
- wp_actionscheduler_actions
- wp_actionscheduler_groups
- wp_actionscheduler_logs
- The uninstall procedure has failed, leaving 9 options in the database
- theysaidso_admin_options
- widget_recent-posts
- action_scheduler_hybrid_store_demarkation
- schema-ActionScheduler_StoreSchema
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- schema-ActionScheduler_LoggerSchema
- db_upgraded
Smoke tests 75% 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 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
Please fix the following
- 49× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schema' not found in wp-content/plugins/fullworks-scanner/includes/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Action' not found in wp-content/plugins/fullworks-scanner/includes/vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_FinishedAction.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schedule' not found in wp-content/plugins/fullworks-scanner/includes/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_RecurringSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schedule' not found in wp-content/plugins/fullworks-scanner/includes/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_SimpleSchedule.php:6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/fullworks-scanner/includes/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner_Deprecated' not found in wp-content/plugins/fullworks-scanner/includes/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_RecurringSchedule' not found in wp-content/plugins/fullworks-scanner/includes/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_IntervalSchedule.php:6
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/fullworks-scanner/includes/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner' not found in wp-content/plugins/fullworks-scanner/includes/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php:6
- > PHP Fatal error
Uncaught Error: Class 'Fullworks_Scanner\\Admin\\Admin_Pages' not found in wp-content/plugins/fullworks-scanner/admin/class-admin-settings.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: plugin update, vulnerabilities, security
fullworks-scanner/fullworks-vulnerability-scanner.php 92% from 13 tests
The principal PHP file in "Fullworks Security Scanner" v. 1.2.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("fullworks-scanner.php" instead of "fullworks-vulnerability-scanner.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected9,396 lines of code in 116 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 112 | 2,273 | 6,616 | 9,040 |
Sass | 1 | 5 | 0 | 168 |
CSS | 1 | 2 | 25 | 131 |
JSON | 1 | 0 | 0 | 49 |
JavaScript | 1 | 2 | 23 | 8 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 12.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 97 | |
▷ Abstract classes | 15 | 15.46% |
▷ Concrete classes | 82 | 84.54% |
▷ Final classes | 0 | 0.00% |
Methods | 767 | |
▷ Static methods | 102 | 13.30% |
▷ Public methods | 578 | 75.36% |
▷ Protected methods | 141 | 18.38% |
▷ Private methods | 48 | 6.26% |
Functions | 33 | |
▷ Named functions | 21 | 63.64% |
▷ Anonymous functions | 12 | 36.36% |
Constants | 40 | |
▷ Global constants | 5 | 12.50% |
▷ Class constants | 35 | 87.50% |
▷ Public constants | 35 | 100.00% |
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.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/brand/light-75h.png | 4.36KB | 3.29KB | ▼ 24.64% |