Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.52ms] Passed 4 tests
A check of server-side resources used by Hormozdi Cryptocurrencies
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 45.19 ▼4.84 |
Dashboard /wp-admin | 3.32 ▲0.01 | 51.03 ▼16.64 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 44.52 ▼2.55 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.14 ▼14.04 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.29 ▲0.92 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Hormozdi Cryptocurrencies
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲11 | 13.19 ▼1.23 | 1.80 ▼0.41 | 77.63 ▲25.24 |
Dashboard /wp-admin | 2,203 ▼0 | 5.89 ▲1.04 | 113.41 ▼9.89 | 44.19 ▼6.58 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.99 ▼0.03 | 34.58 ▼1.94 | 35.05 ▲3.21 |
Add New Post /wp-admin/post-new.php | 1,514 ▼6 | 17.51 ▼5.65 | 702.99 ▼5.66 | 50.83 ▼7.70 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.23 ▲0.03 | 101.49 ▼11.78 | 48.51 ▼3.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/hormozdi-cryptocurrencies/hormozdi-cryptocurrencies.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: money, cryptocurrency, iran
hormozdi-cryptocurrencies/hormozdi-cryptocurrencies.php 92% from 13 tests
The principal PHP file in "Hormozdi Cryptocurrencies" v. 1.0.8 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin2,589 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 400 | 1,428 | 2,081 |
Markdown | 3 | 86 | 0 | 403 |
JSON | 3 | 0 | 0 | 105 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 26.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 129.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 204 | |
▷ Static methods | 11 | 5.39% |
▷ Public methods | 184 | 90.20% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 20 | 9.80% |
Functions | 10 | |
▷ Named functions | 2 | 20.00% |
▷ Anonymous functions | 8 | 80.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin