Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▲24.93ms] Passed 4 tests
Server-side resources used by eOrthopod Patient Education Materials Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 76.27 ▲38.62 |
Dashboard /wp-admin | 3.41 ▲0.11 | 73.06 ▲22.89 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 71.49 ▲27.39 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 115.92 ▲18.24 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 63.93 ▲31.20 |
Add New /wp-admin/post-new.php?post_type=eorthopod_topic | 6.05 | 107.39 |
eOrthopod Topics /wp-admin/edit.php?post_type=eorthopod_topic | 3.67 | 98.57 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=eorthopod_topic | 3.35 | 65.26 |
Server storage [IO: ▲0.19MB] [DB: ▲0.20MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
category_children |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
eOrthopod Patient Education Materials Plugin: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,099 ▲364 | 13.67 ▼0.62 | 5.13 ▲3.37 | 41.35 ▼4.30 |
Dashboard /wp-admin | 2,253 ▲65 | 4.85 ▼0.02 | 115.46 ▲6.91 | 43.01 ▲0.54 |
Posts /wp-admin/edit.php | 2,476 ▲384 | 1.97 ▼0.08 | 38.19 ▲1.28 | 33.99 ▼2.50 |
Add New Post /wp-admin/post-new.php | 1,576 ▲43 | 23.09 ▼0.01 | 659.31 ▼8.70 | 48.95 ▼14.15 |
Media Library /wp-admin/upload.php | 1,432 ▲44 | 4.30 ▲0.12 | 99.49 ▲2.67 | 45.09 ▲2.99 |
Add New /wp-admin/post-new.php?post_type=eorthopod_topic | 1,558 | 17.07 | 911.60 | 32.72 |
eOrthopod Topics /wp-admin/edit.php?post_type=eorthopod_topic | 4,183 | 2.03 | 37.58 | 37.22 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=eorthopod_topic | 2,441 | 2.14 | 28.35 | 37.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- category_children
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% 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 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/eorthopod-patient-education-materials/eorthopod-content-plugin.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/eorthopod-patient-education-materials/templates/admin.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
8 plugin tags: orthopedic library, medical, anatomy, orthopedic content, orthopedic patient education materials...
eorthopod-patient-education-materials/eorthopod-content-plugin.php 92% from 13 tests
The primary PHP file in "eOrthopod Patient Education Materials Plugin" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("eorthopod-patient-education-materials.php" instead of "eorthopod-content-plugin.php")
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
Good job! No executable or dangerous file extensions detected1,829 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 1 | 0 | 0 | 1,582 |
PHP | 4 | 15 | 71 | 247 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin