84% amumu-text-effects

Code Review | Amumu Text Effects

WordPress plugin Amumu Text Effects scored 84% from 54 tests.

About plugin

  • Plugin page: amumu-text-effects
  • Plugin version: 0.9
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.6
  • WordPress version: 6.3.1
  • First release: Aug 30, 2016
  • Latest release: Aug 30, 2016
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: Jangho Lee (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 622 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.04ms] Passed 4 tests

This is a short check of server-side resources used by Amumu Text Effects
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.13 ▲2.89
Dashboard /wp-admin3.32 ▲0.0143.96 ▼8.42
Posts /wp-admin/edit.php3.37 ▲0.0145.82 ▼1.73
Add New Post /wp-admin/post-new.php5.90 ▲0.0184.64 ▼11.49
Media Library /wp-admin/upload.php3.24 ▲0.0135.36 ▲1.48

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Amumu Text Effects
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.73 ▲0.411.72 ▼0.2440.96 ▲1.73
Dashboard /wp-admin2,209 ▲185.87 ▲0.9996.96 ▼0.6546.07 ▼0.09
Posts /wp-admin/edit.php2,086 ▼31.99 ▲0.0036.16 ▲1.1734.27 ▼1.14
Add New Post /wp-admin/post-new.php1,534 ▼723.25 ▲0.07658.53 ▼17.0058.91 ▲3.69
Media Library /wp-admin/upload.php1,391 ▼04.13 ▼0.0695.57 ▲0.9043.77 ▼4.42

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/amumu-text-effects/amumu-text-effects.php:28

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: Screenshot #1 (쇼트코드 사용 예 및 결과 물) image required
  • Contributors: Plugin contributors field is missing
The official readme.txt is a good inspiration

amumu-text-effects/amumu-text-effects.php Passed 13 tests

"Amumu Text Effects" version 0.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
53 characters long description:
텍스트에 효과를 주는 플러그인 입니다.

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 detected80 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1101080

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.43
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.12MB with 0.08MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png119.21KB41.96KB▼ 64.80%