Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/create-pages-on-multisite/wpriders-page-on-all.php+145
Undefined variable: wpdb
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.23ms] Passed 4 tests
Analyzing server-side resources used by Create Pages on Multisite WordPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.61 ▼3.10 |
Dashboard /wp-admin | 3.33 ▲0.03 | 51.37 ▼1.56 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 53.25 ▼0.88 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 95.49 ▲4.87 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.92 ▲4.62 |
Create Pages on Multisite WordPress /wp-admin/tools.php?page=wprdiers-cpb-index | 3.23 | 34.12 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Create Pages on Multisite WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.29 ▲0.01 | 2.00 ▲0.39 | 45.17 ▲4.04 |
Dashboard /wp-admin | 2,199 ▲19 | 5.52 ▼0.15 | 86.91 ▼10.18 | 39.06 ▼1.33 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.98 ▼0.05 | 39.55 ▼3.78 | 37.34 ▼1.14 |
Add New Post /wp-admin/post-new.php | 1,544 ▲17 | 25.03 ▲1.99 | 612.61 ▼61.22 | 70.67 ▲18.18 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.17 ▲0.01 | 100.22 ▼8.62 | 44.31 ▲0.58 |
Create Pages on Multisite WordPress /wp-admin/tools.php?page=wprdiers-cpb-index | 1,620 | 6.55 | 127.03 | 57.45 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/tools.php?page=wprdiers-cpb-index
- > Notice in wp-content/plugins/create-pages-on-multisite/inc/content.php+68
Undefined index: new_title
- > GET request to /wp-admin/tools.php?page=wprdiers-cpb-index
- > Notice in wp-content/plugins/create-pages-on-multisite/inc/content.php+70
Undefined index: new_slug
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/create-pages-on-multisite/index.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/create-pages-on-multisite/inc/content.php:3
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (Plugin options screenshot1.png), #2 (Plugin more options screenshot2.png)
- Screenshots: Add descriptions for screenshots #0, #0 in create-pages-on-multisite/assets to your readme.txt
create-pages-on-multisite/wpriders-page-on-all.php 85% from 13 tests
"Create Pages on Multisite WordPress" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("create-pages-on-multisite.php" instead of "wpriders-page-on-all.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 182 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
Everything looks great! No dangerous files found in this plugin288 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 37 | 17 | 288 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin