100% sepideman-persian-fonts

Code Review | نویسه‌های پارسی سپیدمان

WordPress plugin نویسه‌های پارسی سپیدمان scored 100% from 54 tests.

About plugin

  • Plugin page: sepideman-persian...
  • Plugin version: 1.7.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.9.6
  • WordPress version: 5.8.1
  • First release: Mar 31, 2015
  • Latest release: May 29, 2018
  • Number of updates: 8
  • Update frequency: every 144.4 days
  • Top authors: zartosht (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

300+ active / 9,550 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.0229.53 ▼5.86
Dashboard /wp-admin3.08 ▲0.0344.34 ▼0.95
Posts /wp-admin/edit.php3.13 ▲0.0242.36 ▲1.66
Add New Post /wp-admin/post-new.php5.44 ▲0.0189.73 ▼542.79
Media Library /wp-admin/upload.php3.02 ▲0.0230.61 ▼7.46
فونت های پارسی سپیدمان /wp-admin/options-general.php?page=sepideman-persian-fonts2.9928.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,724 ▲12815.88 ▼0.0911.37 ▲4.0546.63 ▼3.98
Dashboard /wp-admin2,978 ▲475.89 ▼0.02137.37 ▲1.04122.10 ▲10.36
Posts /wp-admin/edit.php2,744 ▲52.69 ▲0.0063.67 ▼4.0789.70 ▲2.10
Add New Post /wp-admin/post-new.php1,673 ▲6919.17 ▲0.37363.97 ▲12.51102.37 ▼14.59
Media Library /wp-admin/upload.php1,812 ▲55.02 ▼0.00153.62 ▲0.63116.60 ▼11.17
فونت های پارسی سپیدمان /wp-admin/options-general.php?page=sepideman-persian-fonts1,0832.0855.23112.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:
LanguageFilesBlank linesComment linesLines of code
SVG3006,901
PHP181057
CSS15639

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 code0.05
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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