Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.53ms] Passed 4 tests
A check of server-side resources used by WP-Parsi Lovely Bots
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.66 ▼3.86 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.91 ▲4.00 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.08 ▲1.10 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.69 ▼17.53 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.90 ▲2.17 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP-Parsi Lovely Bots
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.19 ▼1.44 | 4.45 ▲2.73 | 42.01 ▼11.31 |
Dashboard /wp-admin | 2,209 ▲24 | 4.87 ▲0.04 | 110.41 ▼1.93 | 38.03 ▼3.76 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.04 ▲0.02 | 38.86 ▼1.05 | 36.48 ▼0.02 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.53 ▲0.84 | 646.14 ▲39.78 | 57.98 ▲6.39 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.20 ▲0.01 | 103.35 ▲0.84 | 42.95 ▼0.63 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== wp-parsi-lovely-bot ===
)
wp-parsi-lovely-bot/wpp-lovely-bots.php 92% from 13 tests
Analyzing the main PHP file in "WP-Parsi Lovely Bots" version 1.0
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-parsi-lovely-bot.php" instead of "wpp-lovely-bots.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
Success! There were no dangerous files found in this plugin126 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 9 | 15 | 126 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.72 |
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 | 9 | |
▷ Named functions | 9 | 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
PNG images were not found in this plugin