Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/mass-page-creator/index.php+78
Undefined index: page
Server metrics [RAM: ▼1.93MB] [CPU: ▼52.76ms] Passed 4 tests
Server-side resources used by Mass Page Creator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.41 | 3.80 ▼39.22 |
Dashboard /wp-admin | 2.07 ▼1.23 | 10.01 ▼46.40 |
Posts /wp-admin/edit.php | 2.07 ▼1.28 | 7.90 ▼44.76 |
Add New Post /wp-admin/post-new.php | 2.07 ▼3.81 | 6.67 ▼80.65 |
Media Library /wp-admin/upload.php | 2.07 ▼1.15 | 5.74 ▼25.81 |
Mass Page Creator /wp-admin/options-general.php?page=mass_page_creator | 3.23 | 32.08 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mass Page Creator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 14.47 ▲0.09 | 1.60 ▼0.63 | 40.26 ▼9.70 |
Dashboard /wp-admin | 2,210 ▲22 | 5.84 ▼0.06 | 107.98 ▼3.82 | 44.46 ▼0.95 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.05 ▲0.06 | 41.33 ▲7.06 | 34.87 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.43 ▼4.78 | 594.74 ▼48.51 | 65.27 ▲12.80 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▲0.02 | 93.86 ▼12.95 | 40.40 ▼4.21 |
Mass Page Creator /wp-admin/options-general.php?page=mass_page_creator | 933 | 2.00 | 24.13 | 29.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/mass-page-creator/index.php+78
Undefined index: page
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=mass_page_creator
- > Notice in wp-content/plugins/mass-page-creator/contact/form.php+34
Undefined index: contact_name
- > GET request to /wp-admin/options-general.php?page=mass_page_creator
- > Notice in wp-content/plugins/mass-page-creator/contact/form.php+35
Undefined index: contact_email
- > GET request to /wp-admin/options-general.php?page=mass_page_creator
- > Notice in wp-content/plugins/mass-page-creator/contact/form.php+36
Undefined index: contact_message
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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/mass-page-creator/contact/form.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined index: contact_message in wp-content/plugins/mass-page-creator/contact/form.php on line 36
- > PHP Notice
Undefined index: contact_name in wp-content/plugins/mass-page-creator/contact/form.php on line 34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mass-page-creator/index.php:75
- > PHP Notice
Undefined index: contact_email in wp-content/plugins/mass-page-creator/contact/form.php on line 35
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: mass, creator, pages
mass-page-creator/index.php 85% from 13 tests
The main PHP file in "Mass Page Creator" ver. .1... adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("mass-page-creator.php" instead of "index.php")
- Version: Use only periods and digits for the version number (ex. "1.0.3" instead of ".1...")
Code Analysis Passed 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
Everything looks great! No dangerous files found in this plugin179 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 26 | 10 | 109 |
CSS | 1 | 7 | 0 | 49 |
JavaScript | 3 | 29 | 2 | 21 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin