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.04MB] [CPU: ▼9.47ms] Passed 4 tests
Analyzing server-side resources used by DUZZ
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 42.20 ▼1.21 |
Dashboard /wp-admin | 3.35 ▲0.01 | 50.07 ▼15.14 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 47.74 ▼5.80 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 87.77 ▼13.87 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.95 ▼3.06 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
DUZZ: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 13.27 ▼1.08 | 1.83 ▼0.13 | 47.92 ▲6.49 |
Dashboard /wp-admin | 2,235 ▲29 | 5.83 ▲0.92 | 113.39 ▲8.78 | 41.63 ▼1.95 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.02 ▼0.00 | 34.45 ▼7.33 | 34.77 ▼2.96 |
Add New Post /wp-admin/post-new.php | 6,297 ▲4,757 | 21.57 ▼1.71 | 887.22 ▲198.16 | 78.51 ▲23.11 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.26 ▼0.02 | 100.20 ▼13.58 | 47.29 ▲0.04 |
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 were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/duzz-seo/duzz-seo.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (You can see \"DUZZ\" within the menu on your left. Click it and you will find details about this plugin as well as you can add analytics and webmaster codes for Google/Bing/Pinterest as you can see in screenshots/screenshot1.png), #2 (You can add any and all tags while you edit your post. screenshots/screenshot2.png)
duzz-seo/duzz-seo.php Passed 13 tests
"DUZZ" version 1.01's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
62 characters long description:
Duzz SEO Friend takes your WordPress Website to the next level
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin219 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 152 | 40 | 212 |
CSS | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 11 | |
▷ Named functions | 11 | 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
2 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshots/screenshot1.PNG | 55.16KB | 24.72KB | ▼ 55.19% |
screenshots/screenshot2.PNG | 51.31KB | 20.86KB | ▼ 59.34% |