Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.52ms] Passed 4 tests
A check of server-side resources used by Forms: 3rd-Party Dynamic Fields
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 42.11 ▼3.72 |
Dashboard /wp-admin | 3.37 ▲0.07 | 46.16 ▼3.59 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 48.33 ▼1.74 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 85.00 ▼17.04 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.35 ▼1.67 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Forms: 3rd-Party Dynamic Fields: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.28 ▼1.03 | 4.88 ▲3.03 | 40.21 ▼5.07 |
Dashboard /wp-admin | 2,203 ▲11 | 5.80 ▲0.75 | 95.08 ▼24.57 | 36.92 ▼11.11 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.03 | 33.35 ▼10.06 | 34.87 ▲0.76 |
Add New Post /wp-admin/post-new.php | 1,533 ▼2 | 23.21 ▼0.01 | 669.93 ▲0.31 | 57.94 ▲1.72 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.28 ▲0.12 | 94.15 ▼8.05 | 39.91 ▼5.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/forms-3rdparty-dynamic-fields/forms-3rdparty-dynamicfields.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (14 tag instead of maximum 10)
forms-3rdparty-dynamic-fields/forms-3rdparty-dynamicfields.php 92% from 13 tests
The principal PHP file in "Forms: 3rd-Party Dynamic Fields" v. 0.7.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("forms-3rdparty-dynamic-fields.php" instead of "forms-3rdparty-dynamicfields.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin815 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 119 | 386 | 728 |
Markdown | 1 | 51 | 0 | 87 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 5.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 15 | 48.39% |
▷ Public methods | 25 | 80.65% |
▷ Protected methods | 4 | 12.90% |
▷ Private methods | 2 | 6.45% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 23 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 23 | 100.00% |
▷ Public constants | 23 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin