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.04MB] [CPU: ▼10.65ms] Passed 4 tests
A check of server-side resources used by DenMed Core
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.05 | 39.75 ▼19.53 |
Dashboard /wp-admin | 3.39 ▲0.00 | 50.25 ▼16.52 |
Posts /wp-admin/edit.php | 3.44 ▲0.04 | 48.51 ▼1.89 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.17 | 97.83 ▲1.74 |
Media Library /wp-admin/upload.php | 3.31 ▲0.04 | 32.93 ▼4.65 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 3.36 | 36.53 |
All Doctors /wp-admin/edit.php?post_type=doctors | 3.36 | 38.25 |
Add New /wp-admin/post-new.php?post_type=doctors | 6.08 | 80.99 |
Add New /wp-admin/post-new.php?post_type=testimonials | 6.08 | 85.38 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for DenMed Core
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲88 | 14.08 ▼0.21 | 1.68 ▼0.74 | 46.72 ▲1.66 |
Dashboard /wp-admin | 2,249 ▲69 | 5.65 ▲0.07 | 95.29 ▲4.41 | 41.70 ▲0.59 |
Posts /wp-admin/edit.php | 2,157 ▲57 | 1.97 ▼0.02 | 41.43 ▲3.99 | 35.74 ▼0.74 |
Add New Post /wp-admin/post-new.php | 1,572 ▲44 | 22.96 ▼0.20 | 701.77 ▲50.99 | 57.66 ▲3.10 |
Media Library /wp-admin/upload.php | 1,457 ▲60 | 4.24 ▲0.03 | 100.21 ▼6.37 | 42.15 ▼2.31 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 1,127 | 1.99 | 30.30 | 30.79 |
All Doctors /wp-admin/edit.php?post_type=doctors | 1,127 | 1.95 | 31.97 | 35.30 |
Add New /wp-admin/post-new.php?post_type=doctors | 1,550 | 16.91 | 838.17 | 31.16 |
Add New /wp-admin/post-new.php?post_type=testimonials | 6,226 | 22.44 | 746.07 | 30.66 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/denmed-core/inc/cpt-doctors.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/denmed-core/templates/front.php:6
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
1 plugin tags: denmed-theme-companion
denmed-core/denmed-companion.php 92% from 13 tests
The entry point to "DenMed Core" version 1.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("denmed-core.php" instead of "denmed-companion.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected81 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 14 | 20 | 81 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There are no PNG files in this plugin