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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.04ms] Passed 4 tests
An overview of server-side resources used by Asciify
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.67 ▼3.26 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.64 ▼3.69 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 42.68 ▼1.49 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 81.34 ▼15.70 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.09 ▲2.97 |
Asciify /wp-admin/tools.php?page=asciify | 3.21 | 29.61 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
asciify_settings |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Asciify
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.72 ▲0.44 | 1.58 ▲0.06 | 41.97 ▲1.65 |
Dashboard /wp-admin | 2,202 ▲28 | 5.62 ▲0.04 | 83.63 ▼16.57 | 35.58 ▼9.04 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.95 ▼0.08 | 35.78 ▲1.87 | 32.29 ▼4.62 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 18.08 ▼5.56 | 611.78 ▼42.43 | 70.58 ▲12.22 |
Media Library /wp-admin/upload.php | 1,398 ▲4 | 4.16 ▼0.10 | 96.45 ▼5.28 | 41.77 ▼3.49 |
Asciify /wp-admin/tools.php?page=asciify | 941 | 2.00 | 21.93 | 28.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 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 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: attachment, ascii, image
asciify/asciify.php Passed 13 tests
Analyzing the main PHP file in "Asciify" version 1.0.0
49 characters long description:
Creates ascii representation for uploaded images.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin664 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 89 | 265 | 664 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 28.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 7.14% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 30 | |
▷ Global constants | 3 | 10.00% |
▷ Class constants | 27 | 90.00% |
▷ Public constants | 27 | 100.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
There were not PNG files found in your plugin