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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼8.50ms] Passed 4 tests
Analyzing server-side resources used by Wp Taxonomy Tab
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.91 ▼4.60 |
Dashboard /wp-admin | 3.39 ▲0.09 | 51.72 ▼2.31 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 49.49 ▼6.30 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 87.45 ▼20.80 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.33 ▼1.35 |
Add New WPT Tab post /wp-admin/post-new.php?post_type=wpttab_post | 3.36 | 48.67 |
All Tab posts /wp-admin/edit.php?post_type=wpttab_post | 3.35 | 39.16 |
Server storage [IO: ▲0.16MB] [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: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Wp Taxonomy Tab
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,956 ▲195 | 13.57 ▼0.66 | 9.73 ▲8.05 | 41.96 ▲2.44 |
Dashboard /wp-admin | 2,225 ▲45 | 5.60 ▼0.01 | 93.57 ▲6.22 | 37.78 ▼7.90 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.97 ▲0.03 | 38.70 ▼0.90 | 35.48 ▲1.51 |
Add New Post /wp-admin/post-new.php | 1,549 ▲20 | 23.63 ▲0.51 | 660.48 ▼0.43 | 55.87 ▼0.22 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.17 ▲0.05 | 96.84 ▼15.22 | 40.61 ▼6.79 |
Add New WPT Tab post /wp-admin/post-new.php?post_type=wpttab_post | 2,312 | 3.40 | 94.50 | 52.84 |
All Tab posts /wp-admin/edit.php?post_type=wpttab_post | 1,100 | 1.96 | 30.73 | 31.57 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-taxonomy-tab/init.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
8 plugin tags: tab, responsive tab, taxonomy tab, wp tab, category tab...
wp-taxonomy-tab/init.php 85% from 13 tests
This is the main PHP file of "Wp Taxonomy Tab" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("wp-taxonomy-tab.php" instead of "init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin565 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 17 | 34 | 307 |
CSS | 2 | 0 | 4 | 222 |
JavaScript | 2 | 2 | 0 | 36 |
PHP code Passed 2 tests
Analyzing 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.39 |
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 | 11 | |
▷ Named functions | 11 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.14MB with 0.09MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 62.91KB | 20.23KB | ▼ 67.85% |
screenshot-1.png | 54.21KB | 16.60KB | ▼ 69.38% |
screenshot-2.png | 24.68KB | 9.41KB | ▼ 61.89% |