84% duzz-seo

Code Review | DUZZ

WordPress plugin DUZZ scored84%from 54 tests.

About plugin

  • Plugin page: duzz-seo
  • Plugin version: 1.01
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-4.7.4
  • WordPress version: 6.3.1
  • First release: May 2, 2017
  • Latest release: May 2, 2017
  • Number of updates: 8
  • Update frequency: every 0.5 days
  • Top authors: saudashfaq (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /877 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0542.20 ▼1.21
Dashboard /wp-admin3.35 ▲0.0150.07 ▼15.14
Posts /wp-admin/edit.php3.40 ▲0.0547.74 ▼5.80
Add New Post /wp-admin/post-new.php5.93 ▲0.0587.77 ▼13.87
Media Library /wp-admin/upload.php3.28 ▲0.0537.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,833 ▲7213.27 ▼1.081.83 ▼0.1347.92 ▲6.49
Dashboard /wp-admin2,235 ▲295.83 ▲0.92113.39 ▲8.7841.63 ▼1.95
Posts /wp-admin/edit.php2,114 ▲142.02 ▼0.0034.45 ▼7.3334.77 ▼2.96
Add New Post /wp-admin/post-new.php6,297 ▲4,75721.57 ▼1.71887.22 ▲198.1678.51 ▲23.11
Media Library /wp-admin/upload.php1,417 ▲174.26 ▼0.02100.20 ▼13.5847.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

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)
You can look at the official readme.txt

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:
LanguageFilesBlank linesComment linesLines of code
PHP115240212
CSS1007

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 code0.31
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
screenshots/screenshot1.PNG55.16KB24.72KB▼ 55.19%
screenshots/screenshot2.PNG51.31KB20.86KB▼ 59.34%