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
Install script ran successfully
Server metrics [RAM: ▼0.20MB] [CPU: ▼16.30ms] Passed 4 tests
Analyzing server-side resources used by Author Category
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.77 ▲1.37 |
Dashboard /wp-admin | 3.46 ▲0.12 | 59.07 ▼3.72 |
Posts /wp-admin/edit.php | 3.35 ▼0.00 | 37.03 ▼11.78 |
Add New Post /wp-admin/post-new.php | 4.93 ▼0.95 | 55.77 ▼51.05 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 42.59 ▲6.42 |
Author category /wp-admin/users.php?page=Author_category_panel | 3.41 | 34.35 |
Server storage [IO: ▲0.06MB] [DB: ▲0.04MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Author Category: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.37 ▼0.22 | 1.81 ▲0.12 | 40.88 ▼2.46 |
Dashboard /wp-admin | 2,199 ▲22 | 5.67 ▼0.00 | 87.33 ▼2.20 | 39.39 ▼9.28 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▼0.05 | 34.57 ▼8.37 | 34.70 ▲2.04 |
Add New Post /wp-admin/post-new.php | 1,548 ▼2 | 23.36 ▲5.09 | 601.49 ▼83.88 | 53.33 ▼2.48 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.21 ▲0.01 | 103.23 ▼4.00 | 46.77 ▲4.93 |
Author category /wp-admin/users.php?page=Author_category_panel | 1,131 | 2.39 | 47.58 | 61.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/users.php?page=Author_category_panel
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/users.php?page=Author_category_panel
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/author-category/author-category.php
- > /wp-content/plugins/author-category/inc/author_category_Panel_class.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
3 plugin tags: author category, author posts to category, limit author to category
author-category/author-category.php Passed 13 tests
This is the main PHP file of "Author Category" version 0.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
57 characters long description:
simple plugin limit authors to post just in one category.
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 plugin796 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 103 | 610 | 710 |
PO File | 1 | 26 | 33 | 86 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 29.33 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 50 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin