Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.52ms] Passed 4 tests
A check of server-side resources used by MW WP Form A8 Tracker
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 52.21 ▲9.13 |
Dashboard /wp-admin | 3.31 ▲0.01 | 52.81 ▼2.77 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 52.25 ▼3.87 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.41 ▼30.57 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.29 ▲3.12 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for MW WP Form A8 Tracker
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.30 ▼0.31 | 1.86 ▲0.18 | 39.60 ▼2.94 |
Dashboard /wp-admin | 2,192 ▲18 | 5.58 ▼0.02 | 93.57 ▲6.01 | 37.00 ▼7.60 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▼0.01 | 40.43 ▼2.57 | 34.81 ▼1.93 |
Add New Post /wp-admin/post-new.php | 1,545 ▼1 | 23.27 ▲0.39 | 640.84 ▲36.19 | 59.57 ▲2.11 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.25 ▲0.04 | 96.01 ▼9.07 | 39.96 ▼7.73 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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 untrailingslashit() in wp-content/plugins/mw-wp-form-a8-tracker/mw-wp-form-a8-tracker.php:15
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
mw-wp-form-a8-tracker/mw-wp-form-a8-tracker.php Passed 13 tests
"MW WP Form A8 Tracker" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
82 characters long description:
Add A8 tracking code to MW WP Form. "Saving inquiry data in database" is required.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin381 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 43 | 16 | 238 |
CSS | 1 | 6 | 6 | 87 |
PO File | 1 | 11 | 11 | 49 |
JavaScript | 1 | 3 | 0 | 7 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/handle.png | 0.20KB | 0.10KB | ▼ 48.28% |