79% easy-textillate

Code Review | Easy Textillate

WordPress plugin Easy Textillate scored79%from 54 tests.

About plugin

  • Plugin page: easy-textillate
  • Plugin version: 2.01
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-6.1
  • WordPress version: 6.3.1
  • First release: Jun 13, 2015
  • Latest release: Oct 30, 2022
  • Number of updates: 39
  • Update frequency: every 69.1 days
  • Top authors: Flector (100%)

Code review

54 tests

User reviews

15 reviews

Install metrics

2,000+ active /23,086 total downloads

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.09MB] [CPU: ▼7.00ms] Passed 4 tests

An overview of server-side resources used by Easy Textillate
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1036.45 ▼7.07
Dashboard /wp-admin3.40 ▲0.0945.51 ▼3.50
Posts /wp-admin/edit.php3.45 ▲0.0943.89 ▼4.18
Add New Post /wp-admin/post-new.php5.98 ▲0.0983.96 ▼13.25
Media Library /wp-admin/upload.php3.32 ▲0.0938.51 ▲2.84

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Easy Textillate
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,889 ▲14313.99 ▼0.434.96 ▲3.2438.02 ▼5.53
Dashboard /wp-admin2,210 ▲225.81 ▼0.0898.11 ▼20.3239.56 ▼1.91
Posts /wp-admin/edit.php2,090 ▲12.01 ▼0.0434.93 ▼5.2033.29 ▼2.33
Add New Post /wp-admin/post-new.php1,537 ▼523.26 ▲5.30669.70 ▲42.4053.18 ▼5.51
Media Library /wp-admin/upload.php1,392 ▲44.18 ▼0.0395.08 ▼2.5140.88 ▼3.55
Easy Textillate /wp-admin/easy-textillate.php260.440.0814.11

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-textillate/easy-textillate.php:16

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
    • > GET request to /wp-admin/easy-textillate.php
    • > Network (severe)
    wp-admin/easy-textillate.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: animation, css3, text animation, css3 animations, animatecss...

easy-textillate/easy-textillate.php Passed 13 tests

The main PHP script in "Easy Textillate" version 2.01 is automatically included on every request by WordPress
92 characters long description:
Very beautiful text animations (shortcodes in posts and widgets or PHP code in theme files).

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin1,544 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript310827553
CSS21021533
PHP17658458

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.14
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%
Functions15
▷ Named functions15100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
img/icon_coffee.png5.14KB5.32KB0.00%