Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼11.60ms] Passed 4 tests
This is a short check of server-side resources used by WP fade in text news
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 36.14 ▼1.13 |
Dashboard /wp-admin | 3.32 ▼0.02 | 41.67 ▼16.58 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 43.67 ▼12.64 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 78.97 ▼16.03 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.92 ▲2.44 |
Fade in text news /wp-admin/options-general.php?page=wp-fade-in-text-news | 3.28 | 30.44 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 16 new files
Database: 1 new table, 14 new options
New tables |
---|
wp_FadeInText_plugin |
New WordPress options |
---|
FadeIn_FadeIn |
FadeIn_bFadeOutt |
FadeIn_group |
widget_recent-comments |
FadeIn_FadeOut |
FadeIn_FadeWait |
widget_recent-posts |
FadeIn_Fade |
FadeIn_FadeStep |
db_upgraded |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WP fade in text news
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.24 ▼0.10 | 13.12 ▲11.60 | 38.40 ▼1.47 |
Dashboard /wp-admin | 2,196 ▲22 | 5.53 ▼0.02 | 81.58 ▼8.65 | 37.93 ▼3.97 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.04 | 34.25 ▼2.14 | 34.31 ▲2.75 |
Add New Post /wp-admin/post-new.php | 1,531 ▼0 | 23.24 ▲0.15 | 668.88 ▲23.86 | 48.88 ▼8.27 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.21 ▲0.00 | 94.34 ▼4.64 | 39.80 ▼2.12 |
Fade in text news /wp-admin/options-general.php?page=wp-fade-in-text-news | 1,007 | 2.16 | 23.88 | 24.00 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% 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
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-fade-in-text-news/pages/widget-setting.php
- > /wp-content/plugins/wp-fade-in-text-news/pages/content-management-add.php
- > /wp-content/plugins/wp-fade-in-text-news/pages/content-management-show.php
- > /wp-content/plugins/wp-fade-in-text-news/pages/content-management-edit.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wp-fade-in-text-news/wp-fade-in-text-news.php:22
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-fade-in-text-news/wp-fade-in-text-news.php on line 18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: news, fade in, fadein, fade-in, wordpress...
wp-fade-in-text-news/wp-fade-in-text-news.php 92% from 13 tests
The main file in "WP fade in text news" v. 12.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 158 characters long)
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
No dangerous file extensions were detected1,358 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 92 | 46 | 839 |
PO File | 3 | 160 | 261 | 373 |
JavaScript | 3 | 14 | 23 | 146 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
There were not PNG files found in your plugin