Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.77ms] Passed 4 tests
Analyzing server-side resources used by Tabbed Cats
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.74 ▲1.59 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.51 ▼6.32 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.58 ▲2.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.63 ▼17.92 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.47 ▼0.43 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Tabbed Cats: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,900 ▲139 | 13.73 ▼0.62 | 8.62 ▲7.10 | 40.29 ▼1.10 |
Dashboard /wp-admin | 2,189 ▲12 | 5.54 ▼0.04 | 84.12 ▼4.46 | 40.58 ▼3.97 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.99 ▼0.05 | 39.69 ▼2.93 | 35.53 ▼9.14 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.11 ▼0.59 | 656.02 ▼11.51 | 56.38 ▲1.07 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.21 ▼0.03 | 96.14 ▼9.36 | 42.42 ▲0.00 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_categories() in wp-content/plugins/tabbed-cats/tab_loop.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tabbed-cats/tabbed-cats.php:43
- > PHP Notice
Undefined variable: topcat in wp-content/plugins/tabbed-cats/tab_loop.php on line 15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: frontend, category, categories, register, tabs...
tabbed-cats/tabbed-cats.php Passed 13 tests
The main file in "Tabbed Cats" v. 0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
67 characters long description:
tabbed cats is plugin to tab categories usage [tabbed_cats top="0"]
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
There were no executable files found in this plugin117 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 38 | 38 | 74 |
CSS | 1 | 1 | 0 | 43 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG images were found in this plugin