Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.25ms] Passed 4 tests
A check of server-side resources used by Animated Rotating Words (Interchanging Random Words in a Sentence)
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.29 ▼4.08 |
Dashboard /wp-admin | 3.33 ▼0.01 | 45.69 ▼15.65 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 44.17 ▼0.88 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 79.24 ▼20.40 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.48 ▲1.64 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Animated Rotating Words (Interchanging Random Words in a Sentence)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.55 ▼0.80 | 1.63 ▼0.19 | 38.74 ▼5.63 |
Dashboard /wp-admin | 2,222 ▲34 | 5.86 ▲0.98 | 101.31 ▼7.82 | 40.09 ▲0.00 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.03 ▲0.03 | 34.18 ▼2.30 | 34.57 ▲3.95 |
Add New Post /wp-admin/post-new.php | 1,546 ▲25 | 22.99 ▼0.26 | 691.85 ▼11.47 | 54.21 ▲0.17 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.19 ▲0.00 | 99.03 ▲3.42 | 46.47 ▲2.23 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- 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 | 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
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/css3-rotating-words/includes/admin-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/css3-rotating-words/index.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 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
9 plugin tags: typing, animated, css3, rotating, sentence...
css3-rotating-words/index.php 85% from 13 tests
Analyzing the main PHP file in "Animated Rotating Words (Interchanging Random Words in a Sentence)" version 5.5
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("css3-rotating-words.php" instead of "index.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 an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected8,217 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 63 | 42 | 7,580 |
PHP | 4 | 52 | 27 | 389 |
JavaScript | 4 | 69 | 88 | 248 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
16 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/ui-bg_glass_100_fdf5ce_1x400.png | 0.34KB | 0.16KB | ▼ 54.02% |
images/rotating-icon.png | 46.83KB | 15.69KB | ▼ 66.50% |
admin/images/ui-bg_highlight-soft_100_eeeeee_1x100.png | 0.27KB | 0.14KB | ▼ 47.84% |
admin/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
admin/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |