Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼142.57ms] Passed 4 tests
An overview of server-side resources used by unofficialYektanet
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 40.35 ▲2.27 |
Dashboard /wp-admin | 3.04 ▼0.02 | 40.34 ▼9.22 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 46.87 ▲2.31 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 96.77 ▼560.49 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 32.43 ▼2.84 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
unofficialYektanet: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,772 ▲178 | 15.75 ▲0.30 | 10.69 ▲0.91 | 49.38 ▼0.70 |
Dashboard /wp-admin | 3,030 ▲99 | 5.91 ▼0.01 | 147.14 ▼9.21 | 143.69 ▲16.80 |
Posts /wp-admin/edit.php | 2,779 ▲40 | 2.68 ▼0.01 | 69.29 ▼0.91 | 91.17 ▼2.58 |
Add New Post /wp-admin/post-new.php | 1,622 ▲41 | 18.54 ▼1.87 | 405.92 ▲14.54 | 118.60 ▲1.96 |
Media Library /wp-admin/upload.php | 1,773 ▼34 | 4.99 ▼0.02 | 139.16 ▼22.22 | 148.19 ▲28.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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 smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: ads, yektanet
unofficial-yektanet/unofficialYektanet.php 77% from 13 tests
The primary PHP file in "unofficialYektanet" version 1.0.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/languages")
- Main file name: Name the main plugin file the same as the plugin slug ("unofficial-yektanet.php" instead of "unofficialYektanet.php")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected172 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 41 | 28 | 168 |
Markdown | 1 | 5 | 0 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 6.80KB | 3.16KB | ▼ 53.52% |
assets/img/icon.png | 3.23KB | 1.41KB | ▼ 56.43% |