Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼1.85ms] Passed 4 tests
A check of server-side resources used by Page Generator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 40.76 ▲2.55 |
Dashboard /wp-admin | 3.42 ▲0.12 | 48.05 ▼2.09 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 45.50 ▼0.09 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 82.32 ▼7.75 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 38.25 ▲5.57 |
Upgrade /wp-admin/admin.php?page=page-generator-upgrade | 2.05 | 7.06 |
Page Generator /wp-admin/edit.php?post_type=page-generator-pro | 2.90 | 22.14 |
Generate /wp-admin/admin.php?page=page-generator-generate | 3.30 | 33.24 |
Keywords /wp-admin/admin.php?page=page-generator-keywords | 3.36 | 37.92 |
Server storage [IO: ▲1.06MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 405 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_page_generator_keywords |
New WordPress options |
---|
theysaidso_admin_options |
page-generator-version |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Page Generator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 14.22 ▼0.14 | 1.87 ▲0.00 | 49.68 ▲3.91 |
Dashboard /wp-admin | 2,239 ▲62 | 5.58 ▼0.02 | 83.05 ▼13.83 | 34.55 ▼7.33 |
Posts /wp-admin/edit.php | 2,168 ▲68 | 2.02 ▲0.02 | 33.32 ▼1.04 | 36.31 ▲2.16 |
Add New Post /wp-admin/post-new.php | 1,591 ▲65 | 23.66 ▲0.70 | 659.87 ▼21.60 | 54.67 ▼2.52 |
Media Library /wp-admin/upload.php | 1,438 ▲44 | 4.28 ▼0.01 | 108.77 ▲10.81 | 46.65 ▲4.86 |
Upgrade /wp-admin/admin.php?page=page-generator-upgrade | 4,448 | 26.02 | 876.27 | 159.58 |
Page Generator /wp-admin/edit.php?post_type=page-generator-pro | 11,659 | 26.51 | 1,136.05 | 60.49 |
Generate /wp-admin/admin.php?page=page-generator-generate | 852 | 1.86 | 22.68 | 24.42 |
Keywords /wp-admin/admin.php?page=page-generator-keywords | 1,075 | 2.04 | 24.38 | 39.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_page_generator_keywords
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- page-generator-version
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=page-generator-generate
- > Warning in wp-content/plugins/page-generator/includes/admin/admin.php+754
include_once(wp-content/plugins/page-generator/views/admin/notices.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=page-generator-generate
- > Warning in wp-content/plugins/page-generator/includes/admin/admin.php+754
include_once(): Failed opening 'wp-content/plugins/page-generator/views/admin/notices.php' for inclusion (include_path='.:/usr/share/php')
SRP 50% 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
- 31× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/page-generator/includes/admin/keywords-table.php:16
- > PHP Notice
Undefined variable: bottom in wp-content/plugins/page-generator/views/admin/generate-meta-box-actions.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/page-generator/views/admin/keywords-table.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/page-generator/views/admin/generate-meta-box-publish-upgrade.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/page-generator/views/admin/generate-meta-box-permalink.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/page-generator/_modules/dashboard/views/deactivation-modal.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/page-generator/_modules/dashboard/views/notification.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/page-generator/views/admin/keywords-form.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/page-generator/_modules/dashboard/views/modal.php:11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/page-generator/views/admin/generate-meta-box-template.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=page-generator-upgrade
- > Other (warning) in unknown
https://www.wpzinc.com/plugins/page-generator-pro/?utm_source=page-generator&utm_medium=link&utm_content=menu&utm_campaign=general 153 Unrecognized feature: 'web-share'.
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: multiple page generator, landing pages, mass page generator
page-generator/page-generator.php Passed 13 tests
The main PHP script in "Page Generator" version 1.7.2 is automatically included on every request by WordPress
46 characters long description:
Generate multiple Pages using dynamic content.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin15,131 lines of code in 401 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 50 | 1,554 | 2,157 | 6,414 |
PHP | 49 | 1,804 | 4,481 | 5,464 |
Sass | 5 | 236 | 0 | 2,136 |
SVG | 293 | 0 | 0 | 614 |
PO File | 1 | 247 | 314 | 500 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 38.11 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 109.00 |
Average method complexity | 3.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 238 | |
▷ Static methods | 2 | 0.84% |
▷ Public methods | 198 | 83.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 40 | 16.81% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 5 | |
▷ Global constants | 5 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icons/logo.png | 0.33KB | 0.33KB | 0.00% |