Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼139.27ms] Passed 4 tests
A check of server-side resources used by نویسههای پارسی سپیدمان
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.02 | 29.53 ▼5.86 |
Dashboard /wp-admin | 3.08 ▲0.03 | 44.34 ▼0.95 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 42.36 ▲1.66 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 89.73 ▼542.79 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 30.61 ▼7.46 |
فونت های پارسی سپیدمان /wp-admin/options-general.php?page=sepideman-persian-fonts | 2.99 | 28.40 |
Server storage [IO: ▲1.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for نویسههای پارسی سپیدمان
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,724 ▲128 | 15.88 ▼0.09 | 11.37 ▲4.05 | 46.63 ▼3.98 |
Dashboard /wp-admin | 2,978 ▲47 | 5.89 ▼0.02 | 137.37 ▲1.04 | 122.10 ▲10.36 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.69 ▲0.00 | 63.67 ▼4.07 | 89.70 ▲2.10 |
Add New Post /wp-admin/post-new.php | 1,673 ▲69 | 19.17 ▲0.37 | 363.97 ▲12.51 | 102.37 ▼14.59 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.02 ▼0.00 | 153.62 ▲0.63 | 116.60 ▼11.17 |
فونت های پارسی سپیدمان /wp-admin/options-general.php?page=sepideman-persian-fonts | 1,083 | 2.08 | 55.23 | 112.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
No output text or server-side errors detected on direct access of PHP files
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: persian, themes, bbcnassim, iraniansans, fonts...
sepideman-persian-fonts/sepideman-persian-fonts.php Passed 13 tests
The principal PHP file in "نویسههای پارسی سپیدمان" v. 1.7.0 is loaded by WordPress automatically on each request
88 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
Everything looks great! No dangerous files found in this plugin6,997 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 6,901 |
PHP | 1 | 8 | 10 | 57 |
CSS | 1 | 5 | 6 | 39 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
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 | 6 | |
▷ Named functions | 6 | 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
No PNG files were detected