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.00MB] [CPU: ▼3.05ms] Passed 4 tests
Analyzing server-side resources used by weForms PDF
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 50.93 ▲3.95 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.36 ▲2.06 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 52.81 ▼0.84 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.43 ▼13.91 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.37 ▲0.51 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by weForms PDF
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.70 ▼1.06 | 1.56 ▼0.49 | 41.13 ▼8.36 |
Dashboard /wp-admin | 2,206 ▲15 | 5.91 ▲1.08 | 100.09 ▼12.10 | 39.70 ▼0.43 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.02 | 37.04 ▼4.13 | 35.18 ▼2.90 |
Add New Post /wp-admin/post-new.php | 1,533 ▼1 | 23.37 ▲0.21 | 647.04 ▼54.48 | 57.86 ▲7.07 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.19 ▼0.03 | 98.85 ▼12.70 | 44.82 ▼0.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Donate link: Please fix this invalid URI: ""
weforms-pdf/weforms-pdf.php Passed 13 tests
The entry point to "weForms PDF" version 1.0.0 is a PHP file that has certain tags in its header comment area
59 characters long description:
A simple plugin which allow to download weforms data as pdf
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin3,309 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 250 | 292 | 3,044 |
HTML | 1 | 28 | 0 | 244 |
CSS | 1 | 0 | 0 | 21 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 145.67 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 338.00 |
Average method complexity | 4.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.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 | 128 | |
▷ Static methods | 1 | 0.78% |
▷ Public methods | 90 | 70.31% |
▷ Protected methods | 38 | 29.69% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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