Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.00ms] Passed 4 tests
This is a short check of server-side resources used by Herzog Dupont for YOOtheme Pro
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.09 ▲1.99 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.04 ▼17.08 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.63 ▼4.53 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.48 ▼9.76 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.04 ▼0.64 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 96 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Herzog Dupont for YOOtheme Pro
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.19 ▼0.15 | 1.90 ▲0.22 | 46.75 ▲2.65 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.02 | 87.52 ▼14.47 | 42.82 ▼1.18 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.01 ▼0.01 | 37.43 ▼0.25 | 40.85 ▲4.07 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.27 ▲0.00 | 657.84 ▼11.36 | 50.67 ▼12.01 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.19 ▼0.05 | 98.50 ▼6.87 | 43.04 ▼1.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/herzog-dupont/includes/modules/elements/elements/hd-progress/templates/content.php
- > /wp-content/plugins/herzog-dupont/includes/modules/elements/elements/hd-flipcard/templates/content.php
- > /wp-content/plugins/herzog-dupont/includes/modules/elements/elements/hd-toggle/templates/content.php
- > /wp-content/plugins/herzog-dupont/includes/modules/elements/elements/hd-slideshow-grid_item/templates/template-slideshow.php
- > /wp-content/plugins/herzog-dupont/includes/modules/elements/elements/hd-timeline_item/templates/content.php
- > /wp-content/plugins/herzog-dupont/includes/modules/elements/elements/hd-slideshow-grid_item/templates/content.php
- 183× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/herzog-dupont/includes/modules/elements/elements/hd-slideshow-grid/templates/template-nav.php:6
- > PHP Notice
Undefined variable: props in wp-content/plugins/herzog-dupont/includes/modules/elements/elements/hd-slideshow-grid_item/templates/content.php on line 29
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/herzog-dupont/includes/modules/elements/elements/hd-slideshow-grid_item/templates/content.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/herzog-dupont/includes/modules/elements/elements/hd-flipcard/templates/content.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/herzog-dupont/includes/modules/elements/elements/hd-flipcard/templates/content.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/herzog-dupont/includes/modules/elements/elements/hd-flipcard/templates/template.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/herzog-dupont/includes/modules/elements/elements/hd-timeline/templates/template.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'YOOtheme\\Path' not found in wp-content/plugins/herzog-dupont/includes/modules/elements/bootstrap.php:18
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/herzog-dupont/includes/modules/elements/elements/hd-flipcard/templates/template-link_back.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/herzog-dupont/includes/modules/elements/elements/hd-flipcard/templates/template-link.php on line 5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: yootheme pro, yootheme, page builder
herzog-dupont/herzogdupont.php 92% from 13 tests
The entry point to "Herzog Dupont for YOOtheme Pro" version 1.7.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("herzog-dupont.php" instead of "herzogdupont.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected10,358 lines of code in 93 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 12 | 0 | 0 | 6,518 |
PHP | 54 | 1,040 | 276 | 2,917 |
LESS | 1 | 79 | 16 | 352 |
JavaScript | 6 | 91 | 20 | 288 |
CSS | 3 | 35 | 13 | 150 |
SVG | 16 | 0 | 14 | 116 |
Markdown | 1 | 4 | 0 | 17 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.67 |
Average class complexity | 2.40 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 2 | 12.50% |
▷ Public methods | 13 | 81.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 18.75% |
Functions | 38 | |
▷ Named functions | 2 | 5.26% |
▷ Anonymous functions | 36 | 94.74% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin