Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.95ms] Passed 4 tests
This is a short check of server-side resources used by AT MultiAuthor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.33 ▼1.39 |
Dashboard /wp-admin | 3.37 ▲0.07 | 44.71 ▼2.11 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 45.48 ▲0.73 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 88.73 ▼6.74 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 30.67 ▼1.55 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for AT MultiAuthor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.42 ▼0.96 | 1.66 ▼0.12 | 41.21 ▼3.47 |
Dashboard /wp-admin | 2,203 ▲18 | 5.84 ▲0.95 | 94.05 ▼7.26 | 39.14 ▼5.00 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.05 ▲0.04 | 33.98 ▼0.60 | 33.64 ▼3.81 |
Add New Post /wp-admin/post-new.php | 6,246 ▲4,727 | 22.01 ▼1.31 | 851.53 ▲160.27 | 64.01 ▲20.52 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▼0.05 | 98.71 ▼0.09 | 41.93 ▼1.91 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
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
Good news, no errors were detected
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
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/at-multiauthor/includes/class-backend.php
- > /wp-content/plugins/at-multiauthor/includes/class-main.php
- > /wp-content/plugins/at-multiauthor/at-multiauthor.php
- > /wp-content/plugins/at-multiauthor/uninstall.php
- > /wp-content/plugins/at-multiauthor/includes/class-frontend.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
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
4 plugin tags: author, multiple, contributors, post
at-multiauthor/at-multiauthor.php Passed 13 tests
The main file in "AT MultiAuthor" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
32 characters long description:
One post, multiple contributors!
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
Good job! No executable or dangerous file extensions detected3,476 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 563 | 388 | 2,664 |
CSS | 2 | 125 | 19 | 568 |
PHP | 6 | 70 | 165 | 234 |
Markdown | 1 | 3 | 0 | 10 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 1 | 8.33% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/select2/select2.png | 0.60KB | 0.99KB | 0.00% |