Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼11.27ms] Passed 4 tests
A check of server-side resources used by WP Term Authors
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 47.00 ▼6.42 |
Dashboard /wp-admin | 3.41 ▲0.06 | 57.13 ▼9.65 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 59.14 ▼23.88 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 99.15 ▼5.12 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 42.57 ▲0.64 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
wpdb_term_authors_version |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WP Term Authors
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 14.77 ▲0.55 | 2.32 ▲0.18 | 47.08 ▼4.94 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲1.01 | 109.11 ▼35.84 | 39.15 ▼3.87 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.05 ▲0.06 | 41.04 ▼97.91 | 33.44 ▼50.56 |
Add New Post /wp-admin/post-new.php | 1,538 ▲19 | 22.89 ▼0.12 | 683.51 ▼110.43 | 53.72 ▼2.76 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.15 ▼0.08 | 119.62 ▼1.89 | 52.16 ▼1.97 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- wpdb_term_authors_version
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Please add an image for screenshot #1 (Category Authors)
wp-term-authors/wp-term-authors.php Passed 13 tests
Analyzing the main PHP file in "WP Term Authors" version 0.2.0
54 characters long description:
Authors for categories, tags, and other taxonomy terms
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected372 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 154 | 401 | 339 |
Markdown | 1 | 19 | 0 | 33 |
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.28 |
Average class complexity | 18.50 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 34 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 79.41% |
▷ Protected methods | 3 | 8.82% |
▷ Private methods | 4 | 11.76% |
Functions | 1 | |
▷ Named functions | 1 | 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
No PNG files were detected