79% fade-in-fade-out-post-title

Code Review | Fade in fade out post title

WordPress plugin Fade in fade out post title scored79%from 54 tests.

About plugin

  • Plugin page: fade-in-fade-out-...
  • Plugin version: 11.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-6.1
  • WordPress version: 6.3.1
  • First release: Aug 1, 2011
  • Latest release: Dec 1, 2022
  • Number of updates: 72
  • Update frequency: every 57.5 days
  • Top authors: gopiplus (100%)

Code review

54 tests

User reviews

1 review

Install metrics

70+ active /11,479 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼3.45ms] Passed 4 tests

An overview of server-side resources used by Fade in fade out post title
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0146.37 ▲4.31
Dashboard /wp-admin3.32 ▲0.0252.63 ▲1.33
Posts /wp-admin/edit.php3.37 ▲0.0246.54 ▼2.02
Add New Post /wp-admin/post-new.php5.90 ▲0.0284.31 ▼13.78
Media Library /wp-admin/upload.php3.24 ▲0.0234.31 ▲0.66
Fade in fade out post title /wp-admin/options-general.php?page=fade-in-fade-out-post-title/fade-in-fade-out-post-title.php3.1931.89

Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 18 new options
New WordPress options
fifopost_fade
widget_recent-posts
fifopost_title
fifopost_prefix
fifopost_fadestep
fifopost_bfadeoutt
db_upgraded
fifopost_order
fifopost_fadein
can_compress_scripts
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Fade in fade out post title
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,795 ▲914.36 ▲0.0112.00 ▲9.9443.62 ▲1.52
Dashboard /wp-admin2,193 ▲165.55 ▼0.0486.68 ▼3.4938.96 ▼5.74
Posts /wp-admin/edit.php2,104 ▲42.02 ▲0.0535.72 ▼4.8836.10 ▲0.26
Add New Post /wp-admin/post-new.php1,531 ▲523.07 ▼0.60669.83 ▼1.8462.67 ▲4.25
Media Library /wp-admin/upload.php1,404 ▲104.23 ▲0.0295.17 ▼7.0942.62 ▲0.58
Fade in fade out post title /wp-admin/options-general.php?page=fade-in-fade-out-post-title/fade-in-fade-out-post-title.php8971.9924.2628.02

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=fade-in-fade-out-post-title/fade-in-fade-out-post-title.php
    • > Notice in wp-content/plugins/fade-in-fade-out-post-title/fade-in-fade-out-post-title.php+189
    Undefined index: fifopos_submit

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
Almost there! Just fix the following items
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/fade-in-fade-out-post-title/fade-in-fade-out-post-title.php

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 Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: plugin, widget, fade out, fade in, fade

fade-in-fade-out-post-title/fade-in-fade-out-post-title.php Passed 13 tests

The main file in "Fade in fade out post title" v. 11.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
87 characters long description:
Fade in fade out post title, It is an excellent way to transition between two messages.

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
Everything looks great! No dangerous files found in this plugin456 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP26528271
PO File24654128
JavaScript1102057

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.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
No PNG images were found in this plugin