Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲6.54MB] [CPU: ▲52.36ms] 50% from 4 tests
A check of server-side resources used by Intro Tour Tutorial DeepPresentation
The following require your attention
- RAM: Total memory usage should be kept under 10MB (currently 10.44MB on /wp-admin/post-new.php?post_type=dp_intro_tours)
- Extra RAM: Extra memory usage must be kept under 5MB (currently 6.54MB on /wp-admin/edit.php?post_type=dp_intro_tours)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.57 ▲6.11 | 96.57 ▲52.43 |
Dashboard /wp-admin | 10.02 ▲6.71 | 106.85 ▲58.29 |
Posts /wp-admin/edit.php | 10.02 ▲6.66 | 89.88 ▲38.86 |
Add New Post /wp-admin/post-new.php | 12.79 ▲6.90 | 153.66 ▲65.42 |
Media Library /wp-admin/upload.php | 9.93 ▲6.70 | 95.00 ▲59.85 |
Post Types /wp-admin/edit.php?post_type=acf-post-type | 9.93 | 84.28 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 9.92 | 79.86 |
Add New /wp-admin/post-new.php?post_type=dp_intro_tours | 10.44 | 104.07 |
Taxonomies /wp-admin/edit.php?post_type=acf-taxonomy | 9.93 | 86.67 |
Intro Tour Tutorial /wp-admin/options-general.php?page=dp_intro_tours | 9.85 | 72.17 |
All Tours /wp-admin/edit.php?post_type=dp_intro_tours | 9.88 | 77.30 |
Server storage [IO: ▲22.23MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 707 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_theysaidso_widget |
dp_it_text_styles_options |
acf_version |
dp_it_general_options |
theysaidso_admin_options |
can_compress_scripts |
dp_it_basic_options |
widget_recent-posts |
widget_recent-comments |
dp_it_mobile_breakpoints_options |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Intro Tour Tutorial DeepPresentation
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,167 ▲405 | 14.14 ▼0.20 | 11.72 ▲10.02 | 42.71 ▼1.45 |
Dashboard /wp-admin | 2,389 ▲221 | 6.04 ▲0.47 | 93.32 ▼2.41 | 46.38 ▲0.92 |
Posts /wp-admin/edit.php | 2,186 ▲86 | 2.04 ▲0.10 | 39.40 ▼2.50 | 38.05 ▲1.79 |
Add New Post /wp-admin/post-new.php | 6,723 ▲5,187 | 28.67 ▲5.43 | 1,012.93 ▲341.85 | 36.01 ▼18.84 |
Media Library /wp-admin/upload.php | 2,035 ▲638 | 8.36 ▲4.22 | 239.18 ▲142.49 | 53.18 ▲11.58 |
Post Types /wp-admin/edit.php?post_type=acf-post-type | 1,772 | 2.43 | 37.60 | 88.86 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 1,742 | 2.28 | 38.92 | 75.93 |
Add New /wp-admin/post-new.php?post_type=dp_intro_tours | 5,630 | 8.99 | 321.79 | 146.65 |
Taxonomies /wp-admin/edit.php?post_type=acf-taxonomy | 1,773 | 2.27 | 40.77 | 69.63 |
Intro Tour Tutorial /wp-admin/options-general.php?page=dp_intro_tours | 3,113 | 12.24 | 188.67 | 102.89 |
All Tours /wp-admin/edit.php?post_type=dp_intro_tours | 1,262 | 2.28 | 42.50 | 31.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 14 options in the database
- can_compress_scripts
- acf_version
- dpit_db_version
- dpit_plugin_build_type
- dp_it_mobile_breakpoints_options
- widget_theysaidso_widget
- dp_it_text_styles_options
- widget_recent-comments
- dp_it_general_options
- theysaidso_admin_options
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/dp-intro-tours/admin/partials/dp-intro-tours-admin-display.php
- > /wp-content/plugins/dp-intro-tours/public/partials/dp-intro-tours-public-display.php
- 128× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/dp-intro-tours/vendor/acf/includes/fields/class-acf-field-file.php:5
- > PHP Fatal error
Uncaught Error: Interface 'IntroToursSabberworm\\CSS\\Renderable' not found in wp-content/plugins/dp-intro-tours/vendor/sabberworm/php-css-parser/build/Value/Value.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_add_filter_variations() in wp-content/plugins/dp-intro-tours/vendor/acf/includes/rest-api/acf-rest-api-functions.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/dp-intro-tours/includes/dpit-acf-include.php:5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/dp-intro-tours/vendor/acf/includes/admin/views/acf-field-group/location-rule.php on line 7
- > PHP Fatal error
Uncaught Error: Interface 'IntroToursSabberworm\\CSS\\Renderable' not found in wp-content/plugins/dp-intro-tours/vendor/sabberworm/php-css-parser/build/CSSList/CSSList.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_register_store() in wp-content/plugins/dp-intro-tours/vendor/acf/includes/acf-field-functions.php:4
- > PHP Fatal error
Uncaught Error: Class 'IntroToursSabberworm\\CSS\\Value\\PrimitiveValue' not found in wp-content/plugins/dp-intro-tours/vendor/sabberworm/php-css-parser/build/Value/CSSString.php:16
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/dp-intro-tours/vendor/acf/includes/fields/class-acf-field-email.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/dp-intro-tours/vendor/acf/includes/fields/class-acf-field-true_false.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/post-new.php?post_type=dp_intro_tours
- > Console-api (severe) in unknown
/wp-content/plugins/dp-intro-tours/dist/main/dpit-admin-tour-edit-3c048cf5.js?ver=6.4.4 21:44750 Object
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Screenshot #12 (Tour options - tour starting configuration) image required
dp-intro-tours/dp-intro-tours.php 92% from 13 tests
This is the main PHP file of "Intro Tour Tutorial DeepPresentation" version 6.4.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 529 characters long)
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
No dangerous file extensions were detected208,985 lines of code in 518 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 47 | 47,572 | 71,800 | 114,114 |
PHP | 266 | 11,251 | 24,661 | 41,211 |
JavaScript | 60 | 5,319 | 8,296 | 39,395 |
CSS | 29 | 730 | 1,767 | 13,169 |
JSON | 3 | 0 | 0 | 694 |
SVG | 112 | 0 | 0 | 387 |
Markdown | 1 | 12 | 0 | 15 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 21.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 301.00 |
Average method complexity | 3.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 198 | |
▷ Abstract classes | 9 | 4.55% |
▷ Concrete classes | 189 | 95.45% |
▷ Final classes | 4 | 2.12% |
Methods | 1,833 | |
▷ Static methods | 279 | 15.22% |
▷ Public methods | 1,691 | 92.25% |
▷ Protected methods | 66 | 3.60% |
▷ Private methods | 76 | 4.15% |
Functions | 602 | |
▷ Named functions | 573 | 95.18% |
▷ Anonymous functions | 29 | 4.82% |
Constants | 100 | |
▷ Global constants | 79 | 79.00% |
▷ Class constants | 21 | 21.00% |
▷ Public constants | 21 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
45 PNG files occupy 0.90MB with 0.40MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/acf/assets/images/field-type-previews/field-preview-date-picker.png | 13.93KB | 6.34KB | ▼ 54.46% |
vendor/acf/assets/images/field-type-previews/field-preview-oembed.png | 5.88KB | 2.87KB | ▼ 51.24% |
vendor/acf/assets/inc/datepicker/images/ui-bg_highlight-soft_0_ffffff_1x100.png | 0.08KB | 0.08KB | 0.00% |
vendor/acf/assets/images/field-type-previews/field-preview-message.png | 3.11KB | 1.42KB | ▼ 54.36% |
vendor/acf/assets/images/field-type-previews/field-preview-radio-button.png | 15.22KB | 6.14KB | ▼ 59.69% |