Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.95ms] Passed 4 tests
Analyzing server-side resources used by Gateway AqayePardakht for Gravity Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.48 ▼2.77 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.44 ▼5.80 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.72 ▲1.61 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.59 ▼5.28 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.17 ▼1.94 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Gateway AqayePardakht for Gravity Forms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲86 | 13.29 ▼1.29 | 1.80 ▲0.13 | 42.01 ▼1.64 |
Dashboard /wp-admin | 2,210 ▲22 | 5.84 ▲0.83 | 94.69 ▼26.95 | 44.71 ▼0.68 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.05 ▲0.02 | 39.06 ▲5.09 | 40.60 ▲3.45 |
Add New Post /wp-admin/post-new.php | 1,521 ▼12 | 17.48 ▼5.48 | 615.65 ▼12.29 | 49.22 ▼0.62 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.22 ▼0.01 | 95.69 ▼4.79 | 44.02 ▼0.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% 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
3 plugin tags: gravity forms, aqayepardakht, aqaye pardakht
gateway-aqayepardakht-for-gravity-forms/index.php 92% from 13 tests
The principal PHP file in "Gateway AqayePardakht for Gravity Forms" v. 1.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("gateway-aqayepardakht-for-gravity-forms.php" instead of "index.php")
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
No dangerous file extensions were detected3,852 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 781 | 53 | 3,852 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 197.67 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 354.00 |
Average method complexity | 9.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 68 | 100.00% |
▷ Public methods | 50 | 73.53% |
▷ Protected methods | 3 | 4.41% |
▷ Private methods | 15 | 22.06% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin