Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.03ms] Passed 4 tests
An overview of server-side resources used by Ultimate Metabox Tabs
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.78 ▼1.75 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.15 ▼1.63 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 44.41 ▼2.46 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.34 ▼14.26 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.76 ▲2.81 |
Metabox Tabs /wp-admin/options-general.php?page=metabox-tabs | 3.27 | 34.44 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Ultimate Metabox Tabs
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.61 ▼0.98 | 4.58 ▲2.53 | 36.56 ▼15.12 |
Dashboard /wp-admin | 2,210 ▲25 | 4.86 ▼0.07 | 98.75 ▼5.10 | 36.16 ▼9.78 |
Posts /wp-admin/edit.php | 2,093 ▲22 | 2.05 ▲0.02 | 34.01 ▼1.31 | 32.72 ▼1.06 |
Add New Post /wp-admin/post-new.php | 1,519 ▼14 | 17.48 ▼5.86 | 676.68 ▼16.22 | 56.51 ▲4.38 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.22 ▼0.01 | 96.65 ▼15.11 | 44.86 ▼0.64 |
Metabox Tabs /wp-admin/options-general.php?page=metabox-tabs | 1,132 | 2.04 | 27.99 | 24.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_type_object() in wp-content/plugins/ultimate-metabox-tabs/view/post.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/ultimate-metabox-tabs/ultimate-metabox-tabs.php:58
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_types() in wp-content/plugins/ultimate-metabox-tabs/view/index.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ultimate-metabox-tabs/view/extension.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ultimate-metabox-tabs/view/patcher.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ultimate-metabox-tabs/view/extension-update.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=metabox-tabs
- > Javascript (severe) in unknown
/wp-content/plugins/ultimate-metabox-tabs/js/umt-post.js?ver=6.3.1 49:24 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots do not have images: #1 (The tabs in action. This illustrates their insertion just underneath the "Edit Post" heading.), #2 (The second tab is clicked, it now shows that there is a metabox available for editing and that the content can be hidden.), #3 (The admin editing page for the previous 2 screenshots. It shows that you need the Div ID of the metaboxes and that you can also hide the content with +the_content)
ultimate-metabox-tabs/ultimate-metabox-tabs.php Passed 13 tests
This is the main PHP file of "Ultimate Metabox Tabs" version 0.9.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
43 characters long description:
Adds extendable metabox tabs to your posts.
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
Everything looks great! No dangerous files found in this plugin1,920 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 193 | 552 | 1,554 |
CSS | 2 | 71 | 10 | 271 |
JavaScript | 2 | 14 | 17 | 95 |
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.37 |
Average class complexity | 25.57 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 137.00 |
Average method complexity | 4.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 56 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.18MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/tab-button-bg.png | 0.12KB | 0.14KB | 0.00% |
images/tab-selected-button-bg.png | 0.13KB | 0.14KB | 0.00% |
screenshot-1.png | 66.47KB | 30.08KB | ▼ 54.74% |
screenshot-2.png | 70.35KB | 26.14KB | ▼ 62.84% |
screenshot-3.png | 49.26KB | 20.86KB | ▼ 57.65% |