Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼4.17ms] Passed 4 tests
An overview of server-side resources used by Podamibe Custom Post
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 47.50 ▲2.13 |
Dashboard /wp-admin | 3.46 ▲0.11 | 50.78 ▼9.60 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 52.67 ▲4.98 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 95.17 ▼9.34 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.99 ▲0.12 |
All Custom Post /wp-admin/edit.php?post_type=cpt | 3.43 | 42.33 |
Add New Custom Post /wp-admin/post-new.php?post_type=cpt | 3.42 | 46.98 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Podamibe Custom Post: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 14.41 ▲0.17 | 1.87 ▲0.09 | 44.91 ▲1.37 |
Dashboard /wp-admin | 2,219 ▲45 | 5.55 ▼0.06 | 87.59 ▼11.71 | 39.63 ▼0.58 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.09 ▲0.13 | 35.68 ▼4.80 | 32.63 ▼12.89 |
Add New Post /wp-admin/post-new.php | 1,549 ▲21 | 23.48 ▲0.45 | 617.74 ▼15.98 | 51.17 ▼9.73 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.17 ▼0.02 | 96.63 ▼3.39 | 45.59 ▲4.45 |
All Custom Post /wp-admin/edit.php?post_type=cpt | 1,100 | 1.95 | 35.50 | 29.76 |
Add New Custom Post /wp-admin/post-new.php?post_type=cpt | 1,780 | 2.62 | 57.22 | 59.53 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- 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)
Even though everything seems fine, this is not 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 items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/podamibe-custom-post/custom-post.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
8 plugin tags: podamibe, post, custom post type, podamibe custom post type, custom...
podamibe-custom-post/custom-post.php 85% from 13 tests
The main PHP file in "Podamibe Custom Post" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("podamibe-custom-post.php" instead of "custom-post.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected569 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 106 | 69 | 569 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 1 | 20.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
No PNG images were found in this plugin