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.07MB] [CPU: ▼3.42ms] Passed 4 tests
This is a short check of server-side resources used by Mega-giga-tabs
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 37.55 ▲1.26 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.49 ▼0.24 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 51.54 ▲4.93 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 83.78 ▼16.32 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.04 ▲1.64 |
Tabs /wp-admin/edit.php?post_type=tabs | 3.35 | 34.86 |
Tabs options /wp-admin/options-general.php?page=MGTZ-options | 3.27 | 32.96 |
Add tabs block /wp-admin/post-new.php?post_type=tabs | 3.42 | 45.28 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Mega-giga-tabs
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,865 ▲130 | 13.31 ▼1.04 | 3.50 ▲1.82 | 42.96 ▼1.74 |
Dashboard /wp-admin | 2,239 ▲51 | 4.87 ▼0.03 | 104.92 ▼3.89 | 40.15 ▼4.99 |
Posts /wp-admin/edit.php | 2,122 ▲30 | 2.02 ▼0.04 | 38.94 ▼0.88 | 35.69 ▲0.39 |
Add New Post /wp-admin/post-new.php | 1,556 ▲42 | 23.13 ▲5.52 | 594.90 ▼92.58 | 70.17 ▲11.59 |
Media Library /wp-admin/upload.php | 1,418 ▲27 | 4.20 ▲0.02 | 98.51 ▼2.02 | 45.19 ▲2.19 |
Tabs /wp-admin/edit.php?post_type=tabs | 1,086 | 1.96 | 30.29 | 30.44 |
Tabs options /wp-admin/options-general.php?page=MGTZ-options | 807 | 2.03 | 25.35 | 23.87 |
Add tabs block /wp-admin/post-new.php?post_type=tabs | 2,159 | 7.67 | 164.47 | 60.97 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
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
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mega-giga-tabs/mega-giga-tabs.php:19
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=MGTZ-options
- > Javascript (severe) in unknown
/wp-content/plugins/mega-giga-tabs/button.js?ver=6.3.1 3:8 Uncaught ReferenceError: tinymce is not defined
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5 in mega-giga-tabs/assets to your readme.txt
- License: Not defined
- License uri: Please fix this invalid URI: ""
mega-giga-tabs/mega-giga-tabs.php 85% from 13 tests
The main file in "Mega-giga-tabs" v. 1.3 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:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
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
Everything looks great! No dangerous files found in this plugin608 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 7 | 14 | 248 |
CSS | 1 | 49 | 0 | 196 |
JavaScript | 2 | 1 | 0 | 164 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
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 | 13 | |
▷ Named functions | 10 | 76.92% |
▷ Anonymous functions | 3 | 23.08% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin