Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▲4.95ms] Passed 4 tests
A check of server-side resources used by Digitally Custom Posts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.29 | 47.19 ▼0.95 |
Dashboard /wp-admin | 3.58 ▲0.27 | 55.93 ▲5.71 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 58.52 ▲7.99 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.39 | 96.25 ▲7.30 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 44.66 ▲7.73 |
All testimonials /wp-admin/edit.php?post_type=dcp_testimonials | 3.54 | 47.17 |
Add new /wp-admin/post-new.php?post_type=dcp_team | 3.58 | 53.14 |
Add new /wp-admin/post-new.php?post_type=dcp_portfolio | 6.27 | 96.81 |
Add new /wp-admin/post-new.php?post_type=dcp_services | 3.65 | 57.23 |
All jobs /wp-admin/edit.php?post_type=dcp_jobs | 3.54 | 46.91 |
Add new /wp-admin/post-new.php?post_type=dcp_testimonials | 3.54 | 50.85 |
All services /wp-admin/edit.php?post_type=dcp_services | 3.54 | 44.53 |
All projects /wp-admin/edit.php?post_type=dcp_portfolio | 3.54 | 46.61 |
Category /wp-admin/edit-tags.php?taxonomy=cat_portfolio&post_type=dcp_portfolio | 3.49 | 38.51 |
Add new /wp-admin/post-new.php?post_type=dcp_jobs | 3.62 | 58.84 |
Server storage [IO: ▲0.07MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Digitally Custom Posts
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲219 | 13.16 ▼1.46 | 4.85 ▲2.80 | 41.43 ▼3.20 |
Dashboard /wp-admin | 2,345 ▲160 | 5.86 ▲0.75 | 97.65 ▼7.38 | 39.20 ▼2.01 |
Posts /wp-admin/edit.php | 2,225 ▲136 | 2.04 ▲0.00 | 36.08 ▼5.32 | 34.37 ▼2.75 |
Add New Post /wp-admin/post-new.php | 1,651 ▲137 | 23.45 ▲5.95 | 619.40 ▼91.37 | 48.00 ▼16.38 |
Media Library /wp-admin/upload.php | 1,530 ▲142 | 4.13 ▼0.07 | 96.48 ▼3.16 | 47.11 ▲1.30 |
All testimonials /wp-admin/edit.php?post_type=dcp_testimonials | 1,192 | 2.05 | 31.99 | 31.41 |
Add new /wp-admin/post-new.php?post_type=dcp_team | 1,758 | 3.61 | 64.90 | 31.35 |
Add new /wp-admin/post-new.php?post_type=dcp_portfolio | 1,624 | 17.21 | 895.20 | 30.77 |
Add new /wp-admin/post-new.php?post_type=dcp_services | 7,338 | 2.68 | 78.41 | 50.18 |
All jobs /wp-admin/edit.php?post_type=dcp_jobs | 1,201 | 1.99 | 31.95 | 33.35 |
Add new /wp-admin/post-new.php?post_type=dcp_testimonials | 1,572 | 2.53 | 51.55 | 40.71 |
All services /wp-admin/edit.php?post_type=dcp_services | 1,192 | 2.00 | 32.72 | 31.81 |
All projects /wp-admin/edit.php?post_type=dcp_portfolio | 1,240 | 1.94 | 32.79 | 33.93 |
Category /wp-admin/edit-tags.php?taxonomy=cat_portfolio&post_type=dcp_portfolio | 1,398 | 2.18 | 26.64 | 25.28 |
Add new /wp-admin/post-new.php?post_type=dcp_jobs | 2,334 | 7.64 | 166.48 | 58.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'function digitally_deactivate' not found or invalid function name
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please take a closer look at the following
- 16× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/digitally-custom-posts/includes/testimonials/testimonials.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/digitally-custom-posts/includes/jobs/metabox.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/digitally-custom-posts/includes/services/shortcode.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/digitally-custom-posts/includes/blog/blog.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/digitally-custom-posts/includes/portfolio/portfolio.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/digitally-custom-posts/includes/team/metabox.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/digitally-custom-posts/includes/portfolio/shortcode.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/digitally-custom-posts/includes/team/shortcode.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/digitally-custom-posts/includes/testimonials/shortcode.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/digitally-custom-posts/includes/services/services.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% 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
1 plugin tags: custom post type
digitally-custom-posts/digitally-custom-posts.php 92% from 13 tests
The entry point to "Digitally Custom Posts" version 1.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,319 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 1,442 |
PHP | 16 | 229 | 101 | 715 |
PO File | 1 | 69 | 72 | 162 |
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.26 |
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 | 27 | |
▷ Named functions | 27 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin