Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼12.20ms] Passed 4 tests
An overview of server-side resources used by Embed PDF for Gravity Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.77 ▼7.03 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.22 ▼18.11 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.44 ▲2.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.43 ▼20.59 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.57 ▼3.08 |
Server storage [IO: ▲1.42MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Embed PDF for Gravity Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.72 ▲0.38 | 1.88 ▲0.05 | 36.97 ▼6.36 |
Dashboard /wp-admin | 2,195 ▲17 | 5.60 ▼0.05 | 97.87 ▼18.09 | 43.67 ▼2.27 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.01 ▲0.04 | 40.37 ▲1.62 | 37.14 ▼0.39 |
Add New Post /wp-admin/post-new.php | 1,526 ▼12 | 23.12 ▼0.30 | 582.84 ▼75.89 | 56.55 ▲4.20 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.26 ▲0.05 | 96.87 ▲1.74 | 42.74 ▼0.39 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #2, #3 in embed-pdf-gravityforms/assets to your readme.txt
embed-pdf-gravityforms/embed-pdf-gravityforms.php 92% from 13 tests
"Embed PDF for Gravity Forms" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,551 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 798 |
JavaScript | 6 | 52 | 152 | 354 |
PHP | 4 | 63 | 252 | 343 |
CSS | 4 | 5 | 13 | 51 |
Markdown | 1 | 2 | 0 | 5 |
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.35 |
Average class complexity | 12.50 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 1 | 5.26% |
▷ Public methods | 18 | 94.74% |
▷ Protected methods | 1 | 5.26% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin