Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.34ms] Passed 4 tests
A check of server-side resources used by Funny Text
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.00 ▼2.65 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.67 ▼4.90 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.57 ▼7.80 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.64 ▼22.02 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.90 ▼0.24 |
Funny Text /wp-admin/options-general.php?page=funny-text-setting | 3.21 | 33.34 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Funny Text
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲141 | 13.57 ▼0.79 | 7.91 ▲5.85 | 41.21 ▼2.13 |
Dashboard /wp-admin | 2,219 ▲13 | 5.80 ▲0.89 | 99.80 ▼3.26 | 37.53 ▼2.59 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.00 ▼0.05 | 36.96 ▼7.53 | 33.72 ▼3.65 |
Add New Post /wp-admin/post-new.php | 1,529 ▼18 | 17.61 ▼5.79 | 629.56 ▼25.05 | 50.46 ▼4.43 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.16 ▼0.03 | 96.11 ▼12.77 | 41.01 ▼4.21 |
Funny Text /wp-admin/options-general.php?page=funny-text-setting | 846 | 2.01 | 22.43 | 30.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/funny-text/funny-text.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Tags: Too many tags (21 tag instead of maximum 10); only the first 5 tags are used in your directory listing
funny-text/funny-text.php Passed 13 tests
The main PHP file in "Funny Text" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
75 characters long description:
A WordPress plugin for Create funny and crazy moving texts in a simple way.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin296 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 51 | 66 | 198 |
PHP | 1 | 7 | 36 | 65 |
CSS | 1 | 0 | 7 | 33 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin