Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.05ms] Passed 4 tests
Analyzing server-side resources used by Junkie Types
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.96 ▼4.94 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.23 ▼10.57 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.80 ▲2.52 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.81 ▼0.11 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.45 ▼4.56 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Junkie Types
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲28 | 14.34 ▼0.01 | 1.86 ▼0.25 | 44.62 ▲1.84 |
Dashboard /wp-admin | 2,189 ▲9 | 5.51 ▼0.14 | 84.57 ▼18.09 | 37.32 ▼6.15 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 2.02 ▲0.05 | 34.40 ▼2.95 | 35.41 ▲0.98 |
Add New Post /wp-admin/post-new.php | 1,534 ▲6 | 23.05 ▲0.10 | 672.57 ▼1.76 | 53.78 ▼6.45 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▼0.10 | 112.04 ▲9.90 | 48.01 ▲1.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 17× 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/junkie-content-types/metaboxes/testimonial-metaboxes.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/junkie-content-types/postypes/doctor.php:60
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/junkie-content-types/includes/functions.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/junkie-content-types/metaboxes/doctor-metaboxes.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/junkie-content-types/metaboxes/feature-metaboxes.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/junkie-content-types/postypes/testimonial.php:59
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/junkie-content-types/metaboxes/team-metaboxes.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/junkie-content-types/postypes/department.php:60
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/junkie-content-types/postypes/feature.php:60
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/junkie-content-types/metaboxes/service-metaboxes.php:19
- > 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
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: team, doctor, custom post type, post type, testimonial...
junkie-content-types/junkie-content-types.php 92% from 13 tests
The main file in "Junkie Types" v. 1.1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- 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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,228 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 329 | 329 | 1,203 |
CSS | 1 | 4 | 0 | 25 |
PHP code Passed 2 tests
An overview of 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.30 |
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 | 62 | |
▷ Named functions | 62 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
PNG images were not found in this plugin