Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.23MB] [CPU: ▼18.22ms] Passed 4 tests
This is a short check of server-side resources used by WP to PDD
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.40 ▼1.53 |
Dashboard /wp-admin | 3.07 ▼0.24 | 29.62 ▼20.75 |
Posts /wp-admin/edit.php | 3.20 ▼0.15 | 34.32 ▼18.11 |
Add New Post /wp-admin/post-new.php | 5.44 ▼0.44 | 73.36 ▼27.03 |
Media Library /wp-admin/upload.php | 3.14 ▼0.09 | 30.29 ▼6.97 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 11 new options
New WordPress options |
---|
pdd_create_boxes |
pdd_domain |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
pdd_pdd_token |
db_upgraded |
can_compress_scripts |
pdd_domain_added |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WP to PDD
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.37 ▲0.19 | 1.86 ▼0.10 | 41.90 ▼4.39 |
Dashboard /wp-admin | 2,214 ▲47 | 5.64 ▼0.05 | 90.44 ▼14.82 | 36.52 ▼13.30 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.03 ▲0.03 | 39.78 ▼2.93 | 35.37 ▲0.87 |
Add New Post /wp-admin/post-new.php | 1,567 ▲13 | 18.55 ▲0.15 | 661.68 ▲29.99 | 50.40 ▼5.53 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.31 ▲0.06 | 97.31 ▼7.95 | 46.15 ▲0.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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 take a closer look at the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-to-pdd/tmpl/all-boxes-tmpl.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-to-pdd/wp-to-pdd.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-to-pdd/tmpl/connect-tmpl.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-to-pdd/tmpl/settings-tmpl.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: mail, yandex
wp-to-pdd/wp-to-pdd.php 92% from 13 tests
The main PHP file in "WP to PDD" ver. 0.9.4 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 230 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,309 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 65 | 8 | 656 |
JavaScript | 2 | 46 | 102 | 521 |
CSS | 2 | 24 | 0 | 132 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 14 | |
▷ Named functions | 14 | 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
7 PNG files occupy 0.26MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-6.png | 23.44KB | 10.31KB | ▼ 56.00% |
screenshot-7.png | 23.77KB | 10.21KB | ▼ 57.03% |
screenshot-1.png | 63.58KB | 28.51KB | ▼ 55.16% |
screenshot-4.png | 23.90KB | 10.73KB | ▼ 55.09% |
screenshot-5.png | 23.60KB | 10.59KB | ▼ 55.13% |