Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.18ms] Passed 4 tests
This is a short check of server-side resources used by Rapid Custom Post Types
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.81 ▼5.50 |
Dashboard /wp-admin | 3.37 ▲0.07 | 54.96 ▲0.81 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 55.37 ▲0.82 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 92.32 ▼16.85 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.54 ▼3.17 |
Add New /wp-admin/post-new.php?post_type=links | 3.42 | 53.06 |
All Links /wp-admin/edit.php?post_type=links | 3.33 | 41.32 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Rapid Custom Post Types
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.10 ▼0.43 | 1.61 ▼0.16 | 41.45 ▼1.31 |
Dashboard /wp-admin | 2,222 ▲51 | 5.64 ▲0.09 | 81.22 ▼12.66 | 39.96 ▼3.96 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 1.98 ▼0.03 | 34.79 ▼2.04 | 35.04 ▼0.80 |
Add New Post /wp-admin/post-new.php | 1,569 ▲43 | 23.64 ▲0.15 | 702.26 ▲9.62 | 38.47 ▼26.36 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.20 ▼0.02 | 98.30 ▼14.02 | 44.22 ▼1.93 |
Add New /wp-admin/post-new.php?post_type=links | 2,376 | 8.06 | 194.20 | 67.19 |
All Links /wp-admin/edit.php?post_type=links | 1,091 | 1.96 | 33.57 | 29.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rapid-custom-post-types/custom_post_types.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rapid-custom-post-types/custom_post_admin_styles.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rapid-custom-post-types/custom_post_admin_styles.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
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
Attributes that need to be fixed:
- License: Not defined
- License uri: Invalid url: ""
rapid-custom-post-types/RCPT.php 92% from 13 tests
The main PHP script in "Rapid Custom Post Types" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("rapid-custom-post-types.php" instead of "RCPT.php")
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 plugin703 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 414 |
PHP | 4 | 85 | 48 | 214 |
JavaScript | 1 | 29 | 32 | 65 |
CSS | 2 | 2 | 3 | 10 |
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.67 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 2 | 100.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 9 | 100.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin