Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.79MB] [CPU: ▲23.48ms] Passed 4 tests
A check of server-side resources used by DELUCKS SEO
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.20 ▲1.74 | 61.64 ▲20.43 |
Dashboard /wp-admin | 5.13 ▲1.79 | 81.04 ▲21.48 |
Posts /wp-admin/edit.php | 5.17 ▲1.81 | 76.33 ▲26.76 |
Add New Post /wp-admin/post-new.php | 7.74 ▲1.85 | 117.35 ▲25.26 |
Media Library /wp-admin/upload.php | 5.05 ▲1.83 | 63.15 ▲31.10 |
Dashboard /wp-admin/admin.php?page=dpc-dpc | 6.21 | 62.66 |
Server storage [IO: ▲9.56MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 483 new files
Database: 1 new table, 12 new options
New tables |
---|
wp_dpc_404_redirects |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
dpc_status_dpc_wizard |
dpc_license_last_check_ts |
dpc_status_dpc_dashboard |
widget_theysaidso_widget |
dpc_dpc_dashboard |
can_compress_scripts |
dpc_status_dpc_importexport |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
DELUCKS SEO: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,980 ▲234 | 14.08 ▼0.30 | 7.83 ▲6.18 | 43.38 ▲0.61 |
Dashboard /wp-admin | 2,261 ▲73 | 5.00 ▲0.08 | 100.15 ▼3.15 | 79.08 ▲40.38 |
Posts /wp-admin/edit.php | 2,203 ▲114 | 2.62 ▲0.57 | 42.34 ▲1.51 | 36.81 ▲0.13 |
Add New Post /wp-admin/post-new.php | 1,593 ▲79 | 23.51 ▲6.05 | 632.76 ▼58.96 | 40.29 ▼19.76 |
Media Library /wp-admin/upload.php | 1,455 ▲64 | 4.39 ▲0.16 | 99.29 ▼8.06 | 75.94 ▲29.37 |
Dashboard /wp-admin/admin.php?page=dpc-dpc | 1,587 | 3.98 | 55.77 | 137.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% 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
- Uninstall procedure had uncaught errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'dpc_uninstall' not found or invalid function name
- Zombie tables were found after uninstall: 1 table
- wp_dpc_404_redirects
- Zombie WordPress options were found after uninstall: 12 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- dpc_dpc_dashboard
- dpc_status_dpc_importexport
- widget_recent-comments
- dpc_version
- can_compress_scripts
- dpc_status_dpc_wizard
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dpc-dpc
- > Notice in wp-content/plugins/delucks-seo/helper/functions.php+236
Undefined index: professional_externallinks
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dpc-dpc
- > Notice in wp-content/plugins/delucks-seo/helper/functions.php+236
Undefined index: professional_microdata
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dpc-dpc
- > Notice in wp-content/plugins/delucks-seo/helper/functions.php+236
Undefined index: professional_rating
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dpc-dpc
- > Notice in wp-content/plugins/delucks-seo/helper/functions.php+236
Undefined index: professional_textopt
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dpc-dpc
- > Notice in wp-content/plugins/delucks-seo/helper/functions.php+236
Undefined index: professional_sharing
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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/delucks-seo/modules/basic/statistics/analytics-update.php
- 22× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/delucks-seo/modules/basic/metadata/widgets/description.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/delucks-seo/modules/basic/statistics/widgets/ga_opt_out.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function getModuleInstance() on null in wp-content/plugins/delucks-seo/modules/basic/sitemaps/inc/feed-sitemap-posttype.php:8
- > PHP Fatal error
Uncaught Error: Call to a member function getModuleInstance() on null in wp-content/plugins/delucks-seo/modules/basic/sitemaps/inc/feed-sitemap.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/delucks-seo/modules/professional/sharing/widgets/sharing.php:3
- > PHP Fatal error
Uncaught Error: Interface 'DPC_Module_Interface' not found in wp-content/plugins/delucks-seo/modules/basic/metadata/module.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/delucks-seo/modules/professional/rating/widgets/rating.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/delucks-seo/helper/uninstall.php:312
- > PHP Fatal error
Uncaught Error: Interface 'DPC_Module_Interface' not found in wp-content/plugins/delucks-seo/modules/professional/rating/module.class.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function getModuleInstance() on null in wp-content/plugins/delucks-seo/modules/basic/sitemaps/inc/feed-sitemap-news.php:3
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #2, #3, #4, #5, #6 in delucks-seo/assets to your readme.txt
delucks-seo/index.php 77% from 13 tests
The primary PHP file in "DELUCKS SEO" version 2.5.4 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("4.6" instead of "2.0")
- Description: Keep the plugin description shorter than 140 characters (currently 152 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("delucks-seo.php" instead of "index.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected79,736 lines of code in 322 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 120 | 2,783 | 795 | 36,331 |
JavaScript | 92 | 3,794 | 3,022 | 20,828 |
PHP | 52 | 2,622 | 1,131 | 15,136 |
XML | 18 | 306 | 102 | 3,037 |
LESS | 15 | 53 | 86 | 1,471 |
SVG | 7 | 0 | 0 | 1,454 |
Sass | 13 | 23 | 24 | 1,256 |
JSON | 4 | 0 | 0 | 154 |
Markdown | 1 | 50 | 0 | 69 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
It is recommended to fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 108)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 80.52 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 496.00 |
Average method complexity | 4.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 108.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 43 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 43 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 955 | |
▷ Static methods | 6 | 0.63% |
▷ Public methods | 932 | 97.59% |
▷ Protected methods | 15 | 1.57% |
▷ Private methods | 8 | 0.84% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 31 | |
▷ Global constants | 31 | 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
96 PNG files occupy 0.48MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/iCheck/skins/flat/aero.png | 1.48KB | 1.66KB | 0.00% |
assets/img/dpc-seo.png | 1.15KB | 0.38KB | ▼ 66.58% |
assets/iCheck/skins/square/yellow.png | 2.08KB | 1.83KB | ▼ 12.06% |
assets/iCheck/skins/line/line.png | 0.57KB | 0.79KB | 0.00% |
assets/iCheck/skins/flat/blue@2x.png | 3.14KB | 2.79KB | ▼ 11.25% |