Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.13MB] [CPU: ▼327.85ms] Passed 4 tests
An overview of server-side resources used by Unregistered (Guest) Authors for post types
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.10 | 54.60 ▼26.95 |
Dashboard /wp-admin | 3.19 ▼0.21 | 18.31 ▼24.12 |
Posts /wp-admin/edit.php | 3.19 ▼0.45 | 20.33 ▼19.37 |
Add New Post /wp-admin/post-new.php | 3.19 ▼3.78 | 18.19 ▼1,240.97 |
Media Library /wp-admin/upload.php | 3.19 ▼0.10 | 15.96 ▼12.72 |
Add New /wp-admin/post-new.php?post_type=guest_authors | 3.19 | 19.04 |
Guest author Settings /wp-admin/options-general.php?page=gap_menu_page | 3.19 | 18.19 |
All Authors /wp-admin/edit.php?post_type=guest_authors | 3.19 | 18.10 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Unregistered (Guest) Authors for post types
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,845 ▲119 | 15.85 ▼0.17 | 5.96 ▼0.03 | 2.71 ▲0.39 |
Dashboard /wp-admin | 2,930 ▲76 | 6.09 ▼0.06 | 119.91 ▼12.04 | 154.66 ▼8.95 |
Posts /wp-admin/edit.php | 2,729 ▲35 | 3.24 ▲0.01 | 70.10 ▲4.93 | 139.42 ▼13.13 |
Add New Post /wp-admin/post-new.php | 1,659 ▼2 | 21.17 ▼1.58 | 411.83 ▲4.22 | 147.43 ▼13.89 |
Media Library /wp-admin/upload.php | 1,739 ▲44 | 5.50 ▼0.04 | 143.97 ▲5.61 | 187.78 ▼2.92 |
Add New /wp-admin/post-new.php?post_type=guest_authors | 3,025 | 9.08 | 165.20 | 177.46 |
Guest author Settings /wp-admin/options-general.php?page=gap_menu_page | 1,098 | 2.41 | 60.62 | 123.13 |
All Authors /wp-admin/edit.php?post_type=guest_authors | 1,405 | 3.16 | 60.25 | 111.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5768
add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=guest_authors
- > User notice in wp-includes/functions.php+5768
add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- > GET request to /wp-admin/post-new.php?post_type=guest_authors
- > Notice in wp-includes/capabilities.php+149
Undefined offset: 0
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/unregistered-guest-authors-for-post-types/guest-authors-for-post-types.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Requires at least: Invalid version format
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in unregistered-guest-authors-for-post-types/assets to your readme.txt
unregistered-guest-authors-for-post-types/guest-authors-for-post-types.php 92% from 13 tests
"Unregistered (Guest) Authors for post types" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("unregistered-guest-authors-for-post-types.php" instead of "guest-authors-for-post-types.php")
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
Good job! No executable or dangerous file extensions detected3,574 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 1,372 | 2 | 2,882 |
PHP | 4 | 46 | 67 | 692 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 17 | |
▷ Named functions | 15 | 88.24% |
▷ Anonymous functions | 2 | 11.76% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected