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.11MB] [CPU: ▼0.95ms] Passed 4 tests
A check of server-side resources used by Shouty
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 38.29 ▼0.55 |
Dashboard /wp-admin | 3.42 ▲0.11 | 55.59 ▲7.25 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 51.25 ▲4.88 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 89.21 ▼8.42 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.56 ▲0.29 |
Categories /wp-admin/edit-tags.php?taxonomy=shout_category&post_type=shout | 3.33 | 39.22 |
Add New /wp-admin/post-new.php?post_type=shout | 3.48 | 57.31 |
All Shouts /wp-admin/edit.php?post_type=shout | 3.38 | 37.69 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Shouty
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲131 | 13.16 ▼1.43 | 2.99 ▲1.50 | 38.26 ▼3.77 |
Dashboard /wp-admin | 2,240 ▲51 | 4.85 ▼0.06 | 100.52 ▼8.17 | 38.63 ▼5.43 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.04 ▼0.01 | 34.31 ▼2.38 | 32.20 ▲2.13 |
Add New Post /wp-admin/post-new.php | 1,560 ▲15 | 23.34 ▲5.29 | 608.74 ▼2.59 | 62.54 ▲15.03 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.12 ▼0.10 | 114.04 ▲4.17 | 49.93 ▼2.16 |
Categories /wp-admin/edit-tags.php?taxonomy=shout_category&post_type=shout | 1,293 | 2.26 | 32.55 | 29.51 |
Add New /wp-admin/post-new.php?post_type=shout | 2,607 | 7.81 | 174.54 | 64.21 |
All Shouts /wp-admin/edit.php?post_type=shout | 1,146 | 1.96 | 33.57 | 31.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- 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 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/shouty/shouty.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: You are using too many tags: 11 tag instead of maximum 10
shouty/shouty.php Passed 13 tests
The main PHP script in "Shouty" version 0.2.1 is automatically included on every request by WordPress
67 characters long description:
Shouty is a shoutbox that makes your Wordpress site more shoutable.
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
Success! There were no dangerous files found in this plugin760 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 5 | 105 | 130 | 304 |
PHP | 1 | 46 | 66 | 292 |
CSS | 1 | 15 | 0 | 85 |
JavaScript | 1 | 0 | 0 | 79 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG files were detected