Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.06ms] Passed 4 tests
An overview of server-side resources used by Template Manager by WordPress Monsters
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.70 ▲0.33 |
Dashboard /wp-admin | 3.38 ▲0.08 | 48.36 ▲0.60 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 45.97 ▼3.10 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 84.16 ▼10.07 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.33 ▲3.81 |
Settings /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings | 3.26 | 30.37 |
Add New /wp-admin/post-new.php?post_type=wpm-template | 3.43 | 48.48 |
Templates /wp-admin/edit.php?post_type=wpm-template | 3.35 | 36.22 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Template Manager by WordPress Monsters
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 14.79 ▲0.60 | 1.99 ▲0.27 | 44.27 ▲3.07 |
Dashboard /wp-admin | 2,239 ▲51 | 5.84 ▲0.91 | 96.58 ▼5.38 | 38.20 ▼6.41 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.02 ▲0.01 | 35.42 ▼0.77 | 34.74 ▼0.77 |
Add New Post /wp-admin/post-new.php | 1,556 ▲35 | 23.28 ▲0.09 | 637.75 ▼73.08 | 67.36 ▲15.26 |
Media Library /wp-admin/upload.php | 1,421 ▲36 | 4.21 ▲0.03 | 93.68 ▼4.22 | 42.60 ▼1.43 |
Settings /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings | 1,306 | 2.03 | 23.60 | 31.01 |
Add New /wp-admin/post-new.php?post_type=wpm-template | 2,159 | 7.93 | 171.74 | 65.61 |
Templates /wp-admin/edit.php?post_type=wpm-template | 1,083 | 2.00 | 30.81 | 28.85 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+92
Undefined index: archive_post
- 24 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/wpm-template-manager.php+54
Undefined variable: option
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+98
Undefined index: single_post
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+92
Undefined index: archive_attachment
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+98
Undefined index: single_attachment
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+92
Undefined index: archive_oembed_cache
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+98
Undefined index: single_oembed_cache
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+92
Undefined index: archive_user_request
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+98
Undefined index: single_user_request
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+92
Undefined index: archive_wp_block
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+98
Undefined index: single_wp_block
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+92
Undefined index: archive_wp_template
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+98
Undefined index: single_wp_template
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+92
Undefined index: archive_wp_template_part
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+98
Undefined index: single_wp_template_part
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+92
Undefined index: archive_wp_global_styles
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+98
Undefined index: single_wp_global_styles
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+92
Undefined index: archive_wp_navigation
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+98
Undefined index: single_wp_navigation
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+113
Undefined index: tax_category
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+113
Undefined index: tax_post_tag
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+113
Undefined index: tax_wp_theme
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+113
Undefined index: tax_wp_template_part_area
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+128
Undefined index: single_404
- > GET request to /wp-admin/edit.php?post_type=wpm-template&page=template_manager_settings
- > Notice in wp-content/plugins/wpm-template-manager/includes/options-page.php+139
Undefined index: single_search
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wpm-template-manager/wpm-template-manager.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpm-template-manager/includes/enqueues.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpm-template-manager/includes/options-page.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wpm-template-manager/includes/post-type-template.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpm-template-manager/includes/meta-box.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wpm-template-manager ===
)
wpm-template-manager/wpm-template-manager.php Passed 13 tests
Analyzing the main PHP file in "Template Manager by WordPress Monsters" version 1.1.0
116 characters long description:
This is a temlate manager plugin for easy WordPress development from scratch when you are use Page Builders plugins.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected391 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 80 | 114 | 385 |
CSS | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin