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.17MB] [CPU: ▼2.70ms] Passed 4 tests
A check of server-side resources used by QueryWall: Plug'n Play Firewall
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 43.88 ▲1.66 |
Dashboard /wp-admin | 3.49 ▲0.19 | 58.57 ▼0.01 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 52.50 ▲1.33 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 87.23 ▼13.77 |
Media Library /wp-admin/upload.php | 3.41 ▲0.19 | 42.03 ▲5.03 |
Rules /wp-admin/admin.php?page=querywall-firewall-rules | 3.38 | 36.78 |
Monitor /wp-admin/admin.php?page=querywall | 3.40 | 43.76 |
Settings /wp-admin/admin.php?page=querywall-settings | 3.38 | 34.86 |
Server storage [IO: ▲0.06MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_qwall_monitor |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for QueryWall: Plug'n Play Firewall
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.33 ▼0.05 | 1.80 ▼0.66 | 45.50 ▲2.71 |
Dashboard /wp-admin | 2,226 ▲49 | 5.59 ▼0.12 | 88.29 ▼3.99 | 38.82 ▼1.93 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.01 ▲0.05 | 34.04 ▼1.14 | 35.28 ▲0.37 |
Add New Post /wp-admin/post-new.php | 1,551 ▲23 | 23.38 ▲0.25 | 663.55 ▼26.06 | 52.75 ▲3.08 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.18 ▼0.13 | 99.17 ▼11.65 | 42.22 ▼3.24 |
Rules /wp-admin/admin.php?page=querywall-firewall-rules | 892 | 1.99 | 22.03 | 25.52 |
Monitor /wp-admin/admin.php?page=querywall | 1,011 | 2.03 | 25.64 | 27.54 |
Settings /wp-admin/admin.php?page=querywall-settings | 955 | 2.00 | 23.34 | 29.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 12× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/querywall/core/class-qwall-monitor.php
- > /wp-content/plugins/querywall/core/class-qwall-firewall.php
- > /wp-content/plugins/querywall/core/class-qwall-notice.php
- > /wp-content/plugins/querywall/core/class-qwall-dic.php
- > /wp-content/plugins/querywall/core/class-qwall-core.php
- > /wp-content/plugins/querywall/core/class-qwall-admin.php
- > /wp-content/plugins/querywall/core/class-qwall-firewall-rules.php
- > /wp-content/plugins/querywall/core/class-qwall-settings.php
- > /wp-content/plugins/querywall/core/class-qwall-util.php
- > /wp-content/plugins/querywall/querywall.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 43 tag instead of maximum 10
querywall/querywall.php 92% from 13 tests
The primary PHP file in "QueryWall: Plug'n Play Firewall" version 1.1.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 163 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected854 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 291 | 553 | 854 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
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.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 19 | 32.76% |
▷ Public methods | 48 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 17.24% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin