Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.80MB] [CPU: ▼39.99ms] Passed 4 tests
This is a short check of server-side resources used by Form print pay
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.19 ▼0.27 | 16.84 ▼26.95 |
Dashboard /wp-admin | 3.21 ▼0.10 | 16.76 ▼40.42 |
Posts /wp-admin/edit.php | 3.21 ▼0.15 | 19.60 ▼25.43 |
Add New Post /wp-admin/post-new.php | 3.21 ▼2.68 | 16.86 ▼67.15 |
Media Library /wp-admin/upload.php | 3.21 ▼0.03 | 17.54 ▼16.18 |
shortcodes Form /wp-admin/edit.php?post_type=fpp_form_print_pay | 3.21 | 17.73 |
Add New /wp-admin/post-new.php?post_type=fpp_form_print_pay | 3.21 | 16.16 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 58 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Form print pay
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,983 ▲237 | 13.62 ▼0.75 | 6.06 ▲4.19 | 34.92 ▼7.63 |
Dashboard /wp-admin | 2,272 ▲84 | 4.90 ▼1.00 | 99.51 ▼18.14 | 73.19 ▲30.23 |
Posts /wp-admin/edit.php | 2,161 ▲72 | 2.05 ▼0.00 | 39.94 ▲1.18 | 35.29 ▲2.99 |
Add New Post /wp-admin/post-new.php | 1,725 ▲183 | 22.52 ▲4.23 | 707.08 ▲106.59 | 52.87 ▼5.03 |
Media Library /wp-admin/upload.php | 1,454 ▲75 | 4.29 ▲0.01 | 98.18 ▲0.83 | 47.67 ▲3.33 |
paypal /wp-admin/admin.php?page=configpaypal-form print pay | 967 | 2.05 | 26.44 | 25.37 |
shortcodes Form /wp-admin/edit.php?post_type=fpp_form_print_pay | 1,125 | 1.97 | 34.40 | 31.51 |
PDF /wp-admin/admin.php?page=configpdf-form print pay | 1,034 | 2.05 | 24.89 | 28.93 |
Ordenes pendientes /wp-admin/admin.php?page=config-form print pay | 850 | 2.10 | 24.01 | 23.03 |
Email /wp-admin/admin.php?page=configemail-form print pay | 932 | 2.10 | 25.89 | 24.90 |
Add New /wp-admin/post-new.php?post_type=fpp_form_print_pay | 1,751 | 2.64 | 49.92 | 72.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/form-print-pay/includes/fpdf/fpdf.php+1043
Function get_magic_quotes_runtime() is deprecated
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 6 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=fpp_form_print_pay
- > Deprecated in wp-content/plugins/form-print-pay/includes/fpdf/fpdf.php+1043
Function get_magic_quotes_runtime() is deprecated
- > GET request to /wp-admin/post-new.php?post_type=fpp_form_print_pay
- > Warning in wp-content/plugins/form-print-pay/includes/class-form-print-pay-admin.php+241
count(): Parameter must be an array or an object that implements Countable
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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'FPDF' not found in wp-content/plugins/form-print-pay/includes/class-form-print-pay-pdf.php:9
- > PHP Fatal error
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 93% 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:
- Tags: You are using too many tags: 24 tag instead of maximum 10
form-print-pay/form-print-pay.php 92% from 13 tests
The entry point to "Form print pay" version 1.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
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
Good job! No executable or dangerous file extensions detected4,720 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 393 | 383 | 4,272 |
JavaScript | 2 | 45 | 4 | 383 |
CSS | 3 | 4 | 0 | 65 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 49.31 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 338.00 |
Average method complexity | 4.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 169 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 129 | 76.33% |
▷ Protected methods | 40 | 23.67% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin