Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼1.56ms] Passed 4 tests
A check of server-side resources used by Projects Custom Post Type by mbaierl
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.07 | 40.33 ▼1.25 |
Dashboard /wp-admin | 3.36 ▲0.05 | 45.25 ▼0.84 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.79 ▲3.95 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 95.53 ▼2.41 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 32.79 ▼1.75 |
Add New /wp-admin/post-new.php?post_type=project | 6.10 | 84.33 |
Tags /wp-admin/edit-tags.php?taxonomy=project_tag&post_type=project | 3.27 | 32.09 |
Categories /wp-admin/edit-tags.php?taxonomy=project_category&post_type=project | 3.27 | 32.65 |
All Projects /wp-admin/edit.php?post_type=project | 3.32 | 36.98 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Projects Custom Post Type by mbaierl
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲103 | 13.66 ▼0.64 | 1.95 ▲0.15 | 44.88 ▼0.52 |
Dashboard /wp-admin | 2,241 ▲53 | 4.88 ▼1.02 | 105.45 ▲0.50 | 40.15 ▼2.77 |
Posts /wp-admin/edit.php | 2,124 ▲32 | 2.02 ▼0.00 | 39.67 ▲0.85 | 34.70 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,548 ▲15 | 23.37 ▲0.32 | 615.60 ▲24.12 | 53.56 ▲3.96 |
Media Library /wp-admin/upload.php | 1,423 ▲38 | 4.26 ▲0.02 | 96.48 ▼2.35 | 41.42 ▼1.96 |
Add New /wp-admin/post-new.php?post_type=project | 1,572 | 17.09 | 913.67 | 35.81 |
Tags /wp-admin/edit-tags.php?taxonomy=project_tag&post_type=project | 1,272 | 2.14 | 27.40 | 30.15 |
Categories /wp-admin/edit-tags.php?taxonomy=project_category&post_type=project | 1,297 | 2.14 | 27.83 | 28.70 |
All Projects /wp-admin/edit.php?post_type=project | 1,155 | 1.95 | 30.80 | 34.03 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/mbaierl-projects-cpt/mbaierl-projects-cpt.php
- > /wp-content/plugins/mbaierl-projects-cpt/includes/divi-projects-cpt.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Requires php: Version not formatted correctly
mbaierl-projects-cpt/mbaierl-projects-cpt.php 92% from 13 tests
This is the main PHP file of "Projects Custom Post Type by mbaierl" version 0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
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
Success! There were no dangerous files found in this plugin196 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 16 | 26 | 100 |
PO File | 1 | 39 | 43 | 96 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin