Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.17MB] [CPU: ▲5.64ms] Passed 4 tests
Server-side resources used by Beagle Security - WP Security, Advanced Penetration Testing
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 52.48 ▲5.81 |
Dashboard /wp-admin | 3.46 ▲0.16 | 58.06 ▲6.15 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 60.98 ▲10.54 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 98.25 ▲0.73 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 46.27 ▲9.85 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 19 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_beagleScanData |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Beagle Security - WP Security, Advanced Penetration Testing
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲53 | 13.65 ▼0.74 | 1.71 ▼0.69 | 44.53 ▼1.29 |
Dashboard /wp-admin | 2,234 ▲49 | 4.90 ▼0.03 | 110.35 ▲0.32 | 39.28 ▼6.10 |
Posts /wp-admin/edit.php | 2,113 ▲21 | 2.00 ▲0.00 | 40.47 ▲0.36 | 36.81 ▲0.05 |
Add New Post /wp-admin/post-new.php | 1,546 ▲26 | 23.06 ▼0.11 | 661.53 ▼22.71 | 52.19 ▼7.01 |
Media Library /wp-admin/upload.php | 1,412 ▲24 | 4.12 ▼0.11 | 112.79 ▲4.92 | 47.59 ▲0.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 take a closer look at the following
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/beagle-security-wp-security-advanced-penetration-testing/Admin/bootstrap.php
- > /wp-content/plugins/beagle-security-wp-security-advanced-penetration-testing/wp-beagleSettings.php
- > /wp-content/plugins/beagle-security-wp-security-advanced-penetration-testing/Admin/script.php
- > /wp-content/plugins/beagle-security-wp-security-advanced-penetration-testing/Admin/progressRound.php
- 10× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_file_name() in wp-content/plugins/beagle-security-wp-security-advanced-penetration-testing/Admin/stopTest.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_file_name() in wp-content/plugins/beagle-security-wp-security-advanced-penetration-testing/Admin/updateVerify.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_file_name() in wp-content/plugins/beagle-security-wp-security-advanced-penetration-testing/Admin/verifyToken.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_file_name() in wp-content/plugins/beagle-security-wp-security-advanced-penetration-testing/Admin/getStatus.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_file_name() in wp-content/plugins/beagle-security-wp-security-advanced-penetration-testing/Admin/deleteTest.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_file_name() in wp-content/plugins/beagle-security-wp-security-advanced-penetration-testing/Admin/insertInToTable.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_file_name() in wp-content/plugins/beagle-security-wp-security-advanced-penetration-testing/Admin/autoVerifyFailed.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_file_name() in wp-content/plugins/beagle-security-wp-security-advanced-penetration-testing/Admin/style.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_file_name() in wp-content/plugins/beagle-security-wp-security-advanced-penetration-testing/Admin/getResultData.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_file_name() in wp-content/plugins/beagle-security-wp-security-advanced-penetration-testing/Admin/startTest.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: security, security plugin, security testing, wordpress security, website security
beagle-security-wp-security-advanced-penetration-testing/wp-beagleSettings.php 77% from 13 tests
The main PHP script in "Beagle Security - WP Security, Advanced Penetration Testing" version 1.0.8 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Main file name: It is recommended to name the main PHP file as the plugin slug ("beagle-security-wp-security-advanced-penetration-testing.php" instead of "wp-beagleSettings.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected3,815 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 363 | 118 | 3,815 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There are no PNG files in this plugin