Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.31ms] Passed 4 tests
Analyzing server-side resources used by Persian bbPress Tools
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 41.19 ▼0.33 |
Dashboard /wp-admin | 3.35 ▲0.01 | 47.78 ▼15.84 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 48.51 ▼1.65 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 88.12 ▼11.40 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.28 ▲1.81 |
بیبیپرس فارسی /wp-admin/options-general.php?page=persian-bbpress-tools/persian-bbpress-tools.php | 3.22 | 33.37 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
pbbp_tools_options |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Persian bbPress Tools
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲108 | 13.83 ▼0.12 | 8.80 ▲6.82 | 39.17 ▼3.22 |
Dashboard /wp-admin | 2,202 ▲25 | 5.55 ▲0.01 | 84.30 ▼3.46 | 45.90 ▲2.85 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.99 ▲0.02 | 37.25 ▼2.56 | 42.43 ▲9.53 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 23.09 ▼0.43 | 671.94 ▼46.39 | 63.93 ▲8.02 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.11 ▼0.17 | 110.75 ▲6.21 | 53.66 ▲6.34 |
بیبیپرس فارسی /wp-admin/options-general.php?page=persian-bbpress-tools/persian-bbpress-tools.php | 854 | 2.01 | 26.81 | 71.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- pbbp_tools_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=persian-bbpress-tools/persian-bbpress-tools.php
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=persian-bbpress-tools/persian-bbpress-tools.php
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=persian-bbpress-tools/persian-bbpress-tools.php
- > Notice in wp-content/plugins/persian-bbpress-tools/persian-bbpress-tools.php+180
Undefined index: login_uri_string
- > GET request to /wp-admin/options-general.php?page=persian-bbpress-tools/persian-bbpress-tools.php
- > Notice in wp-content/plugins/persian-bbpress-tools/persian-bbpress-tools.php+186
Undefined index: register_uri_string
- > GET request to /wp-admin/options-general.php?page=persian-bbpress-tools/persian-bbpress-tools.php
- > Notice in wp-content/plugins/persian-bbpress-tools/persian-bbpress-tools.php+192
Undefined index: lostpass_uri_string
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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/persian-bbpress-tools/persian-bbpress-tools.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 ([Persian bbPress Tools Options Page](http://plugins.svn.wordpress.org/persian-bbpress-tools/assets/pbbp-screenshot-1.png)), #2 ([Persian bbPress Tools Front End](http://plugins.svn.wordpress.org/persian-bbpress-tools/assets/pbbp-screenshot-2.png))
- Donate link: Please fix this invalid url: ""
persian-bbpress-tools/persian-bbpress-tools.php 92% from 13 tests
"Persian bbPress Tools" version 0.6.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 188 characters long)
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
Good job! No executable or dangerous file extensions detected3,602 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 1 | 1,007 | 1,252 | 2,562 |
CSS | 1 | 141 | 45 | 808 |
PHP | 1 | 56 | 36 | 169 |
JavaScript | 1 | 20 | 0 | 63 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin