Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.31MB] [CPU: ▼3.93ms] Passed 4 tests
Analyzing server-side resources used by Easy Custom Post Type Maker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 47.05 ▲7.73 |
Dashboard /wp-admin | 3.61 ▲0.30 | 53.16 ▼5.16 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 60.33 ▲2.77 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.31 | 91.46 ▼15.90 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 40.13 ▲2.57 |
Taxonomies /wp-admin/edit.php?post_type=ecptm_tax | 3.58 | 40.19 |
Easy Post Types /wp-admin/edit.php?post_type=ecptm | 3.58 | 38.52 |
Server storage [IO: ▲0.70MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Custom Post Type Maker
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,881 ▲135 | 13.40 ▼0.99 | 1.90 ▲0.08 | 45.34 ▼0.23 |
Dashboard /wp-admin | 2,284 ▲93 | 5.82 ▲0.93 | 100.19 ▼13.20 | 41.23 ▼6.31 |
Posts /wp-admin/edit.php | 2,170 ▲78 | 2.05 ▲0.05 | 40.31 ▲3.75 | 35.51 ▼0.13 |
Add New Post /wp-admin/post-new.php | 1,612 ▲93 | 23.32 ▲0.18 | 595.43 ▼55.66 | 72.11 ▲18.39 |
Media Library /wp-admin/upload.php | 1,472 ▲87 | 4.19 ▼0.04 | 96.03 ▼8.27 | 43.01 ▼7.74 |
Taxonomies /wp-admin/edit.php?post_type=ecptm_tax | 1,172 | 2.02 | 39.39 | 42.05 |
Easy Post Types /wp-admin/edit.php?post_type=ecptm | 1,180 | 2.03 | 39.45 | 39.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 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 no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Creating Custom Post Types), #2 (Overview of your created Custom Post Types), #3 (Creating custom Taxonomies)
easy-custom-post-type-maker/easy-custom-post-type-maker.php Passed 13 tests
This is the main PHP file of "Easy Custom Post Type Maker" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
108 characters long description:
Easy Custom Post Type Maker create Custom Post Types and custom Taxonomies in a user friendly very easy way.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,327 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 170 | 94 | 1,131 |
CSS | 2 | 33 | 13 | 146 |
JavaScript | 2 | 10 | 0 | 50 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 246.00 |
▷ Minimum class complexity | 246.00 |
▷ Maximum class complexity | 246.00 |
Average method complexity | 14.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 78.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.62MB with 0.44MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 375.83KB | 107.04KB | ▼ 71.52% |
screenshot-3.png | 161.24KB | 44.35KB | ▼ 72.50% |
screenshot-2.png | 97.66KB | 29.19KB | ▼ 70.11% |