Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼0.68ms] Passed 4 tests
Analyzing server-side resources used by WP Dummy Content Generator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 42.39 ▲2.06 |
Dashboard /wp-admin | 3.48 ▲0.17 | 47.26 ▲3.54 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 43.17 ▼1.55 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 82.36 ▼5.91 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 36.46 ▲2.69 |
Dummy Content Generator /wp-admin/admin.php?page=wp_dummy_content_generator-dashboard | 3.37 | 31.63 |
Generate Users /wp-admin/admin.php?page=wp_dummy_content_generator-users | 3.37 | 31.30 |
Generate Products /wp-admin/admin.php?page=wp_dummy_content_generator-products | 3.37 | 29.86 |
Generate Posts /wp-admin/admin.php?page=wp_dummy_content_generator-posts | 3.37 | 32.29 |
Manage Thumbnails /wp-admin/admin.php?page=wp_dummy_content_generator-thumbnails | 3.38 | 31.70 |
Server storage [IO: ▲11.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 636 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Dummy Content Generator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲122 | 14.74 ▲0.30 | 1.71 ▲0.01 | 43.49 ▼0.98 |
Dashboard /wp-admin | 2,270 ▲90 | 4.94 ▼0.71 | 88.32 ▲0.11 | 37.67 ▲0.87 |
Posts /wp-admin/edit.php | 2,172 ▲72 | 2.31 ▲0.32 | 36.47 ▲1.05 | 34.54 ▲0.32 |
Add New Post /wp-admin/post-new.php | 1,584 ▲58 | 23.40 ▲0.04 | 652.96 ▼40.10 | 51.66 ▼9.93 |
Media Library /wp-admin/upload.php | 1,472 ▲75 | 4.53 ▲0.30 | 95.88 ▼5.07 | 41.43 ▼0.47 |
Dummy Content Generator /wp-admin/admin.php?page=wp_dummy_content_generator-dashboard | 936 | 1.85 | 26.42 | 44.23 |
Generate Users /wp-admin/admin.php?page=wp_dummy_content_generator-users | 993 | 1.87 | 26.07 | 24.51 |
Generate Products /wp-admin/admin.php?page=wp_dummy_content_generator-products | 811 | 1.88 | 27.41 | 21.18 |
Generate Posts /wp-admin/admin.php?page=wp_dummy_content_generator-posts | 1,073 | 1.90 | 26.49 | 23.48 |
Manage Thumbnails /wp-admin/admin.php?page=wp_dummy_content_generator-thumbnails | 829 | 1.86 | 27.64 | 25.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-dummy-content-generator/admin/template/wp_dummy_content_generator-products.php
- > /wp-content/plugins/wp-dummy-content-generator/admin/template/wp_dummy_content_generator-dashboard.php
- > /wp-content/plugins/wp-dummy-content-generator/admin/partials/wp_dummy_content_generator-admin-display.php
- 483× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\Address' not found in wp-content/plugins/wp-dummy-content-generator/Faker-main/src/Faker/Provider/me_ME/Address.php:5
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\Text' not found in wp-content/plugins/wp-dummy-content-generator/Faker-main/src/Faker/Provider/de_CH/Text.php:5
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\PhoneNumber' not found in wp-content/plugins/wp-dummy-content-generator/Faker-main/src/Faker/Provider/el_CY/PhoneNumber.php:5
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\PhoneNumber' not found in wp-content/plugins/wp-dummy-content-generator/Faker-main/src/Faker/Provider/nl_NL/PhoneNumber.php:5
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\de_DE\\Text' not found in wp-content/plugins/wp-dummy-content-generator/Faker-main/src/Faker/Provider/de_AT/Text.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_users() in wp-content/plugins/wp-dummy-content-generator/admin/partials/users/wp_dummy_content_generator-listUsers.php:2
- > PHP Fatal error
Uncaught Error: Interface 'Composer\\Plugin\\Capability\\CommandProvider' not found in wp-content/plugins/wp-dummy-content-generator/Faker-main/vendor/bamarni/composer-bin-plugin/src/CommandProvider.php:7
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\PhoneNumber' not found in wp-content/plugins/wp-dummy-content-generator/Faker-main/src/Faker/Provider/en_NZ/PhoneNumber.php:5
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\Text' not found in wp-content/plugins/wp-dummy-content-generator/Faker-main/src/Faker/Provider/hu_HU/Text.php:5
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\it_IT\\Person' not found in wp-content/plugins/wp-dummy-content-generator/Faker-main/src/Faker/Provider/it_CH/Person.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=wp_dummy_content_generator-posts
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wp_dummy_content_generator-posts 185 The specified value "2023/10/27" does not conform to the required format, "yyyy-MM-dd".
- > GET request to /wp-admin/admin.php?page=wp_dummy_content_generator-posts
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wp_dummy_content_generator-posts 188 The specified value "2023/10/27" does not conform to the required format, "yyyy-MM-dd".
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Donate link: Please fix this invalid url: ""
wp-dummy-content-generator/wp_dummy_content_generator.php 77% from 13 tests
"WP Dummy Content Generator" version 3.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-dummy-content-generator.php" instead of "wp_dummy_content_generator.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Description: Please don't use more than 140 characters for the plugin description (currently 365 characters long)
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
It is important to fix the following items
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/wp-dummy-content-generator/Faker-main/vendor/bin/simple-phpunit.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 564 | 22,252 | 14,103 | 110,382 |
JavaScript | 2 | 1,979 | 6,991 | 6,328 |
CSS | 3 | 31 | 52 | 1,408 |
JSON | 7 | 0 | 0 | 491 |
Markdown | 8 | 141 | 0 | 419 |
XML | 1 | 0 | 0 | 230 |
DOS Batch | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 3.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 1.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 94 | |
Interfaces | 15 | |
Traits | 18 | |
Classes | 503 | |
▷ Abstract classes | 1 | 0.20% |
▷ Concrete classes | 502 | 99.80% |
▷ Final classes | 14 | 2.79% |
Methods | 1,549 | |
▷ Static methods | 813 | 52.49% |
▷ Public methods | 1,404 | 90.64% |
▷ Protected methods | 64 | 4.13% |
▷ Private methods | 81 | 5.23% |
Functions | 171 | |
▷ Named functions | 44 | 25.73% |
▷ Anonymous functions | 127 | 74.27% |
Constants | 62 | |
▷ Global constants | 5 | 8.06% |
▷ Class constants | 57 | 91.94% |
▷ Public constants | 57 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
admin/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
admin/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
admin/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
admin/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |