Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.64ms] Passed 4 tests
Server-side resources used by Authors as Taxonomy
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 39.43 ▼9.62 |
Dashboard /wp-admin | 3.41 ▲0.10 | 50.20 ▲1.43 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 52.93 ▲0.04 |
Add New Post /wp-admin/post-new.php | 5.59 ▼0.29 | 76.57 ▼22.41 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 39.66 ▲4.92 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
calmpress\internal\authors_as_taxonomy |
Browser metrics Passed 4 tests
A check of browser resources used by Authors as Taxonomy
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.69 ▼0.95 | 1.62 ▼0.35 | 42.06 ▼6.03 |
Dashboard /wp-admin | 2,221 ▲33 | 5.88 ▲0.06 | 98.41 ▼18.30 | 40.73 ▼4.21 |
Posts /wp-admin/edit.php | 2,146 ▲57 | 2.02 ▼0.01 | 35.65 ▼0.29 | 32.48 ▼0.52 |
Add New Post /wp-admin/post-new.php | 6,257 ▲4,724 | 19.09 ▼3.94 | 904.17 ▲276.11 | 68.26 ▲20.16 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.21 ▲0.03 | 101.63 ▼4.05 | 40.63 ▼4.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- calmpress\internal\authors_as_taxonomy
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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
Please fix the following items
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function calmpress\\plugins\\authors_as_taxonomy\\load_plugin_textdomain() in wp-content/plugins/authors-as-taxonomy/authors-as-taxonomy.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/authors-as-taxonomy/integration/authors-as-taxonomy/feed-atom.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function calmpress\\internal\\authors_as_taxonomy\\add_action() in wp-content/plugins/authors-as-taxonomy/internal/authors-as-taxonomy/functions.php:138
- > PHP Fatal error
Uncaught Error: Interface 'calmpress\\api\\authors_as_taxonomy\\iterator' not found in wp-content/plugins/authors-as-taxonomy/api/authors-as-taxonomy/class-authors-collection.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/authors-as-taxonomy/integration/authors-as-taxonomy/feed-rss2.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: calmpress, multiple authors, security, authors
authors-as-taxonomy/authors-as-taxonomy.php 92% from 13 tests
The main PHP script in "Authors as Taxonomy" version 1.0.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected508 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 141 | 559 | 508 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin