Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.39ms] Passed 4 tests
Analyzing server-side resources used by PR Graumailing
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.27 ▼6.13 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.10 ▼4.58 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.75 ▼1.02 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 85.84 ▼13.83 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 39.76 ▲1.36 |
PR Graumailing /wp-admin/edit.php?post_type=prgraumailing | 3.30 | 39.29 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for PR Graumailing
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 13.27 ▼1.47 | 1.60 ▼0.52 | 46.95 ▲2.09 |
Dashboard /wp-admin | 2,224 ▲21 | 5.88 ▲1.00 | 99.14 ▼14.98 | 41.32 ▼2.21 |
Posts /wp-admin/edit.php | 2,082 ▼18 | 2.02 ▲0.00 | 36.99 ▲0.77 | 33.49 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,548 ▼6 | 23.16 ▲5.03 | 681.60 ▲39.82 | 54.92 ▼29.53 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.24 ▲0.05 | 105.20 ▼7.64 | 44.83 ▼6.00 |
PR Graumailing /wp-admin/edit.php?post_type=prgraumailing | 1,068 | 1.99 | 35.43 | 29.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pr-graumailing/pr-admin-functions.php:207
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pr-graumailing/pr-front-functions.php:77
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pr-graumailing/pr-admin-functions.php:207
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: contact form, graumailing
pr-graumailing/pr-graumailing.php Passed 13 tests
Analyzing the main PHP file in "PR Graumailing" version 1.2.3
47 characters long description:
Integração do Graumailing com Contact Form 7.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected371 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 30 | 19 | 371 |
PHP code Passed 2 tests
A brief analysis 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.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin