Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼146.08ms] Passed 4 tests
This is a short check of server-side resources used by ShieldSquare - Real-time Bot Management Solution for Web Apps, Mobile & APIs
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.04 ▲0.31 | 45.76 ▲18.90 |
Dashboard /wp-admin | 3.14 ▲0.08 | 47.03 ▼17.41 |
Posts /wp-admin/edit.php | 3.20 ▲0.08 | 48.39 ▼5.98 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.06 | 100.89 ▼562.09 |
Media Library /wp-admin/upload.php | 3.09 ▲0.08 | 36.00 ▲1.16 |
ShieldSquare Configuration /wp-admin/options-general.php?page=shieldsquare_settings_view | 3.06 | 35.98 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 2 new options
New WordPress options |
---|
ss_dns_time |
ss_ip |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ShieldSquare - Real-time Bot Management Solution for Web Apps, Mobile & APIs
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲136 | 15.88 ▲0.36 | 9.55 ▼4.32 | 51.25 ▼4.43 |
Dashboard /wp-admin | 2,978 ▲44 | 5.90 ▼0.03 | 158.89 ▼9.92 | 123.96 ▼1.57 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.69 ▲0.01 | 72.30 ▲1.95 | 100.28 ▲6.32 |
Add New Post /wp-admin/post-new.php | 1,686 ▲3 | 18.75 ▲0.70 | 389.07 ▲10.40 | 121.31 ▲11.21 |
Media Library /wp-admin/upload.php | 1,812 ▼13 | 5.03 ▼0.00 | 151.51 ▲5.22 | 132.20 ▲5.58 |
ShieldSquare Configuration /wp-admin/options-general.php?page=shieldsquare_settings_view | 1,778 | 2.22 | 59.97 | 82.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/shieldsquare-connectors/shieldsquare.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: bot detection, security, crawler protection, scrapping protection, bot mitigation
shieldsquare-connectors/shieldsquare.php 92% from 13 tests
"ShieldSquare - Real-time Bot Management Solution for Web Apps, Mobile & APIs" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("shieldsquare-connectors.php" instead of "shieldsquare.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
There were no executable files found in this plugin1,051 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 159 | 379 | 1,051 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 17.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 6.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 5 | 16.67% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin