Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.19ms] Passed 4 tests
An overview of server-side resources used by MT Tabs
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.42 ▼0.75 |
Dashboard /wp-admin | 3.33 ▼0.01 | 47.35 ▼14.92 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.51 ▲1.50 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 88.99 ▼8.83 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.96 ▼0.26 |
Server storage [IO: ▲0.07MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
MT Tabs: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲141 | 13.78 ▼0.58 | 6.41 ▲4.43 | 44.15 ▲1.44 |
Dashboard /wp-admin | 2,206 ▲15 | 5.90 ▲1.02 | 107.98 ▲1.17 | 41.01 ▼4.17 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.01 ▲0.00 | 34.75 ▲1.49 | 32.46 ▼5.24 |
Add New Post /wp-admin/post-new.php | 1,538 ▲24 | 23.50 ▲5.87 | 652.15 ▼20.16 | 54.48 ▼0.56 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.27 ▲0.02 | 98.57 ▼17.47 | 41.25 ▼7.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
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)
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
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/mt-tabs/index.php:11
- > PHP Fatal error
Uncaught Error: Class '_WP_Editors' not found in wp-content/plugins/mt-tabs/tinymce-lang.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== mt-tabs ===
) - Screenshots: These screenshots have no corresponding images in /assets: #1 (Default styling), #2 (Accordion style), #3 (New TinyMCE button to create the shortcode quickly.)
mt-tabs/index.php 92% from 13 tests
The entry point to "MT Tabs" version 1.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 ("mt-tabs.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected242 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 57 | 12 | 117 |
JavaScript | 2 | 4 | 10 | 63 |
PO File | 2 | 8 | 16 | 42 |
CSS | 1 | 1 | 2 | 20 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 10.23KB | 4.78KB | ▼ 53.26% |
screenshot-3.png | 31.74KB | 14.01KB | ▼ 55.86% |
screenshot-2.png | 10.36KB | 4.67KB | ▼ 54.88% |