Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼5.22ms] Passed 4 tests
An overview of server-side resources used by Chat for Aesop Story Engine
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 37.85 ▼3.24 |
Dashboard /wp-admin | 3.59 ▲0.29 | 51.31 ▲2.84 |
Posts /wp-admin/edit.php | 3.70 ▲0.35 | 51.48 ▲4.73 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.29 | 86.58 ▼16.06 |
Media Library /wp-admin/upload.php | 3.51 ▲0.29 | 36.30 ▼4.40 |
Install Plugins /wp-admin/themes.php?page=ase-chat-install-plugins | 3.51 | 34.36 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Chat for Aesop Story Engine
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲97 | 14.47 ▲0.22 | 1.66 ▼0.26 | 41.79 ▼9.58 |
Dashboard /wp-admin | 2,241 ▲53 | 5.85 ▲0.94 | 110.01 ▼0.81 | 41.32 ▼3.09 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.04 ▲0.05 | 43.57 ▲1.68 | 37.55 ▲3.00 |
Add New Post /wp-admin/post-new.php | 1,561 ▲27 | 23.38 ▲0.16 | 651.40 ▲50.97 | 58.57 ▼5.27 |
Media Library /wp-admin/upload.php | 1,425 ▲34 | 4.26 ▼0.02 | 99.46 ▼4.25 | 45.90 ▲2.70 |
Install Plugins /wp-admin/themes.php?page=ase-chat-install-plugins | 921 | 2.09 | 27.20 | 25.92 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chat-for-aesop-story-engine/class.backend.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/chat-for-aesop-story-engine/ase-chat.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/chat-for-aesop-story-engine/class.settings.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/chat-for-aesop-story-engine/inc/class-tgm-plugin-activation.php:161
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/chat-for-aesop-story-engine/class.shortcode.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chat-for-aesop-story-engine/class.front-end.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: chat, aesop, story
chat-for-aesop-story-engine/ase-chat.php 85% from 13 tests
The main file in "Chat for Aesop Story Engine" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("chat-for-aesop-story-engine.php" instead of "ase-chat.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,477 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 413 | 898 | 1,336 |
CSS | 1 | 10 | 0 | 141 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 24.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 4.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 57 | |
▷ Static methods | 1 | 1.75% |
▷ Public methods | 51 | 89.47% |
▷ Protected methods | 6 | 10.53% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.05MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 26.29KB | 26.32KB | 0.00% |
assets/screenshot-2.png | 26.26KB | 26.29KB | 0.00% |