Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼7.80ms] Passed 4 tests
Server-side resources used by ProductDyno
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 42.92 ▼4.30 |
Dashboard /wp-admin | 3.58 ▲0.28 | 47.08 ▼7.50 |
Posts /wp-admin/edit.php | 3.68 ▲0.33 | 46.12 ▼1.58 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.41 | 77.23 ▼17.83 |
Media Library /wp-admin/upload.php | 3.52 ▲0.30 | 34.44 ▲0.56 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ProductDyno
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲126 | 13.80 ▼0.93 | 8.69 ▲6.99 | 44.41 ▲0.72 |
Dashboard /wp-admin | 2,213 ▲33 | 5.66 ▼0.01 | 95.71 ▼3.09 | 84.02 ▲41.74 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 1.97 ▲0.02 | 36.35 ▼3.96 | 34.67 ▼0.08 |
Add New Post /wp-admin/post-new.php | 6,235 ▲4,709 | 25.88 ▲2.67 | 1,024.15 ▲350.82 | 68.68 ▲12.80 |
Media Library /wp-admin/upload.php | 1,415 ▲18 | 4.14 ▼0.03 | 97.44 ▼6.86 | 71.54 ▲26.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 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 0% 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 take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/productdyno/public/partials/productdyno-public-display.php
- > /wp-content/plugins/productdyno/public/partials/productdyno-public-restricted-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/productdyno/admin/partials/productdyno-admin-display.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
These attributes need to be fixed:
- Contributors: Plugin contributors not specified
productdyno/productdyno.php Passed 13 tests
The entry point to "ProductDyno" version 1.0.22 is a PHP file that has certain tags in its header comment area
89 characters long description:
Discover the easiest way to Sell, License & Securely Deliver any type of Digital Product!
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
Good job! No executable or dangerous file extensions detected1,541 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 451 | 944 | 1,194 |
CSS | 2 | 40 | 16 | 239 |
JavaScript | 2 | 52 | 92 | 108 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 21.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 101.00 |
Average method complexity | 3.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 2 | 4.00% |
▷ Public methods | 32 | 64.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 36.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/favicon.png | 1.48KB | 0.73KB | ▼ 50.49% |
admin/images/logo.png | 8.65KB | 4.32KB | ▼ 50.09% |