Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.51ms] Passed 4 tests
This is a short check of server-side resources used by WordPress Animated Text Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.60 ▼0.72 |
Dashboard /wp-admin | 3.37 ▲0.06 | 49.20 ▼1.34 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 49.68 ▲2.35 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 93.92 ▲2.12 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.44 ▼2.08 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 43 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WordPress Animated Text Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲141 | 13.56 ▼0.65 | 4.82 ▲2.72 | 39.99 ▼3.78 |
Dashboard /wp-admin | 2,208 ▲20 | 4.87 ▼1.03 | 114.21 ▲7.71 | 41.29 ▼1.68 |
Posts /wp-admin/edit.php | 2,088 ▼4 | 2.03 ▼0.01 | 40.36 ▲3.71 | 36.98 ▲1.65 |
Add New Post /wp-admin/post-new.php | 1,530 ▲10 | 23.30 ▲0.10 | 642.93 ▼2.39 | 64.58 ▼0.01 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.22 ▲0.05 | 100.21 ▼8.01 | 42.79 ▼4.98 |
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
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/animated-text/admin/partials/wp-animated-text-plugin-admin-display.php
- > /wp-content/plugins/animated-text/public/partials/wp-animated-text-plugin-public-display.php
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 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Select effect you want to apply), #2 (Save the pages/posts content with the generated shortcode)
animated-text/wp-animated-text-plugin.php 85% from 13 tests
"WordPress Animated Text Plugin" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("animated-text.php" instead of "wp-animated-text-plugin.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
Everything looks great! No dangerous files found in this plugin1,565 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 5 | 182 | 5 | 621 |
JavaScript | 6 | 44 | 68 | 337 |
PHP | 12 | 122 | 564 | 240 |
HTML | 1 | 13 | 10 | 130 |
JSON | 3 | 0 | 0 | 96 |
Markdown | 2 | 23 | 0 | 88 |
CSS | 5 | 4 | 13 | 53 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 2.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 23 | 79.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 20.69% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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 images were found in this plugin