Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.90MB] [CPU: ▼35.79ms] Passed 4 tests
Analyzing server-side resources used by Multiple Page Generator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.90 ▼3.51 |
Dashboard /wp-admin | 3.04 ▼0.26 | 23.58 ▼26.95 |
Posts /wp-admin/edit.php | 3.04 ▼0.31 | 25.01 ▼24.45 |
Add New Post /wp-admin/post-new.php | 3.04 ▼2.84 | 23.79 ▼81.01 |
Media Library /wp-admin/upload.php | 3.04 ▼0.18 | 25.75 ▼10.74 |
Pages Creator /wp-admin/admin.php?page=mpg_single-generator | 3.04 | 25.02 |
Excel Sheet Pages Creator /wp-admin/admin.php?page=xlsx-page-generator | 3.04 | 25.89 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Multiple Page Generator: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲70 | 13.36 ▼1.02 | 1.59 ▼0.35 | 40.07 ▼11.44 |
Dashboard /wp-admin | 2,233 ▲42 | 4.85 ▼1.03 | 96.92 ▼10.64 | 37.91 ▼7.06 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.01 ▲0.00 | 39.88 ▼0.99 | 35.84 ▼3.89 |
Add New Post /wp-admin/post-new.php | 1,546 ▲9 | 18.18 ▼4.93 | 594.55 ▼61.76 | 56.86 ▼31.32 |
Media Library /wp-admin/upload.php | 1,418 ▲27 | 4.22 ▼0.03 | 96.08 ▼4.68 | 46.76 ▲3.21 |
Pages Creator /wp-admin/admin.php?page=mpg_single-generator | 789 | 2.06 | 28.52 | 26.18 |
Excel Sheet Pages Creator /wp-admin/admin.php?page=xlsx-page-generator | 793 | 2.61 | 33.71 | 24.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/multiple-page-generator/multiple-page-generator.php+36
Undefined variable: hook
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% 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)
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=xlsx-page-generator
- > Notice in wp-content/plugins/multiple-page-generator/multiple-page-generator.php+36
Undefined variable: hook
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Donate link: Invalid URI ("")
multiple-page-generator/multiple-page-generator.php 92% from 13 tests
The entry point to "Multiple Page Generator" version 1.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 556 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin577 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 97 | 30 | 238 |
JavaScript | 3 | 46 | 15 | 193 |
CSS | 1 | 20 | 0 | 118 |
XML | 6 | 0 | 0 | 28 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 4.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin