Benchmarks
Plugin footprint 65% 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.12MB] [CPU: ▲3.40ms] Passed 4 tests
Server-side resources used by دیوار آتش برنامه نویس
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 52.79 ▲12.24 |
Dashboard /wp-admin | 3.42 ▲0.12 | 53.01 ▲2.56 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 52.36 ▲5.39 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 89.95 ▲2.43 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 41.29 ▲3.21 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_tdf |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for دیوار آتش برنامه نویس
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.28 ▼0.00 | 2.44 ▲0.35 | 42.52 ▲3.72 |
Dashboard /wp-admin | 2,210 ▲33 | 5.56 ▲0.04 | 86.29 ▼3.51 | 41.25 ▼1.14 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.98 ▼0.01 | 37.57 ▼0.96 | 36.95 ▼0.03 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.11 ▼0.50 | 669.18 ▼22.53 | 50.79 ▼4.42 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.18 ▲0.10 | 95.79 ▼14.84 | 48.25 ▲0.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_tdf
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== developer-firewall ===
)
developer-firewall/developer-firewall.php Passed 13 tests
The principal PHP file in "دیوار آتش برنامه نویس" v. 1.0.1 is loaded by WordPress automatically on each request
82 characters long description:
یک فایروال ساده و سبک اما قدرتمند برای وردپرس
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected874 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 67 | 34 | 874 |
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.35 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin