Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼7.95ms] Passed 4 tests
A check of server-side resources used by Show Archive Descriptions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 38.65 ▼1.34 |
Dashboard /wp-admin | 3.41 ▲0.07 | 45.70 ▼13.70 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 47.70 ▲1.18 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 81.04 ▼17.93 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.99 ▲2.05 |
Show Archive Descriptions /wp-admin/options-general.php?page=show-archive-descriptions | 3.30 | 32.16 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
satd |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Show Archive Descriptions
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.28 ▲0.04 | 2.17 ▲0.56 | 43.00 ▲1.79 |
Dashboard /wp-admin | 2,202 ▲22 | 5.57 ▼0.09 | 95.53 ▲9.10 | 43.13 ▲2.13 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.03 | 35.68 ▲0.02 | 33.39 ▼4.52 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.71 ▲0.64 | 697.56 ▲13.30 | 59.17 ▼4.56 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.26 ▲0.08 | 99.98 ▲1.05 | 47.86 ▲2.73 |
Show Archive Descriptions /wp-admin/options-general.php?page=show-archive-descriptions | 960 | 2.16 | 27.34 | 53.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/show-archive-descriptions/show-archive-descriptions.php:20
- > 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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: author, category, description, show, tag
show-archive-descriptions/show-archive-descriptions.php Passed 13 tests
The main PHP file in "Show Archive Descriptions" ver. 0.0.8 adds more information about the plugin and also serves as the entry point for this plugin
65 characters long description:
Show category, tag and author descriptions on your archive pages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin342 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 21 | 42 | 333 |
CSS | 2 | 0 | 1 | 9 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 22 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/support.png | 5.03KB | 2.79KB | ▼ 44.54% |
images/settings.png | 2.11KB | 2.31KB | 0.00% |
images/description.png | 0.57KB | 0.35KB | ▼ 39.15% |