Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.77ms] Passed 4 tests
This is a short check of server-side resources used by Ultimate Custom Posts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.05 | 28.02 ▼23.56 |
Dashboard /wp-admin | 3.37 ▲0.03 | 53.00 ▲1.22 |
Posts /wp-admin/edit.php | 3.49 ▲0.09 | 51.58 ▲1.21 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.03 | 85.04 ▼9.93 |
Media Library /wp-admin/upload.php | 3.30 ▲0.03 | 39.03 ▲3.36 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate Custom Posts
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲75 | 14.01 ▼0.20 | 2.08 ▲0.41 | 44.51 ▲0.51 |
Dashboard /wp-admin | 2,218 ▲38 | 5.58 ▼0.05 | 88.08 ▼0.67 | 40.46 ▲1.80 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 1.98 ▼0.03 | 37.21 ▲0.84 | 34.57 ▲1.04 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 22.63 ▼0.28 | 687.56 ▲2.56 | 59.20 ▲5.62 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.23 ▲0.03 | 103.39 ▼2.97 | 43.98 ▼5.03 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-custom-posts/ultimate-custom-posts.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Add a description for screenshot #0 in ultimate-custom-posts/assets to your readme.txt
ultimate-custom-posts/ultimate-custom-posts.php Passed 13 tests
The primary PHP file in "Ultimate Custom Posts" version 3.0 is used by WordPress to initiate all plugin functionality
52 characters long description:
You can show custom post type posts with this plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected703 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 15 | 15 | 558 |
PHP | 1 | 41 | 42 | 145 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 10 | |
▷ Named functions | 10 | 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
1 PNG file occupies 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ultimate-posts-plugin.png | 125.72KB | 55.97KB | ▼ 55.48% |