Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼1.84ms] Passed 4 tests
Analyzing server-side resources used by ShayanWeb Admin FontChanger | افزونهی تغییر فونت پیشخوان وردپرس شایان وب
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 33.86 ▼9.39 |
Dashboard /wp-admin | 3.37 ▲0.07 | 49.16 ▼0.79 |
Posts /wp-admin/edit.php | 3.43 ▲0.06 | 47.76 ▼0.13 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.06 | 95.14 ▲7.12 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 34.64 ▲2.94 |
شایان وب فونت /wp-admin/options-general.php?page=shayanweb-fontchanger-options | 3.27 | 31.27 |
Server storage [IO: ▲2.81MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 70 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
shayanweb_fontchanger_options |
widget_recent-posts |
Browser metrics Passed 4 tests
ShayanWeb Admin FontChanger | افزونهی تغییر فونت پیشخوان وردپرس شایان وب: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲72 | 14.21 ▼0.14 | 1.59 ▼0.21 | 67.31 ▲22.37 |
Dashboard /wp-admin | 2,212 ▲41 | 5.61 ▼0.05 | 93.69 ▼12.59 | 57.74 ▲3.55 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 2.10 ▲0.16 | 40.70 ▼0.51 | 47.45 ▲11.81 |
Add New Post /wp-admin/post-new.php | 1,546 ▲21 | 23.09 ▼0.55 | 645.01 ▲51.79 | 58.15 ▲2.76 |
Media Library /wp-admin/upload.php | 1,414 ▲11 | 4.18 ▼0.05 | 100.72 ▼2.02 | 34.90 ▼10.46 |
شایان وب فونت /wp-admin/options-general.php?page=shayanweb-fontchanger-options | 977 | 2.19 | 29.15 | 67.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- shayanweb_fontchanger_options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
3 plugin tags: admin, wp-admin, fonts
shayanweb-admin-fontchanger/shayanweb-fontchanger.php 85% from 13 tests
The primary PHP file in "ShayanWeb Admin FontChanger | افزونهی تغییر فونت پیشخوان وردپرس شایان وب" version 1.7.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Plugin Name: Please shorten the plugin name (currently 111 characters long instead of max. 70)
- Main file name: The principal plugin file should be the same as the plugin slug ("shayanweb-admin-fontchanger.php" instead of "shayanweb-fontchanger.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
There were no executable files found in this plugin625 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 22 | 65 | 484 |
CSS | 7 | 1 | 9 | 119 |
JavaScript | 1 | 3 | 0 | 22 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
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 | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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