90% bubbles-name

Code Review | Bubbles Animates Name

WordPress plugin Bubbles Animates Name scored90%from 54 tests.

About plugin

  • Plugin page: bubbles-name
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.0.3
  • WordPress version: 6.3.1
  • First release: Aug 28, 2018
  • Latest release: Nov 1, 2022
  • Number of updates: 33
  • Update frequency: every 46.2 days
  • Top authors: aasthasolutions (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

10+ active /633 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.01MB] [CPU: ▼5.36ms] Passed 4 tests

This is a short check of server-side resources used by Bubbles Animates Name
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0134.75 ▼8.02
Dashboard /wp-admin3.31 ▲0.0145.46 ▼2.96
Posts /wp-admin/edit.php3.36 ▲0.0147.12 ▲0.33
Add New Post /wp-admin/post-new.php5.89 ▲0.0180.38 ▼10.79
Media Library /wp-admin/upload.php3.24 ▲0.0135.63 ▲4.68

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Bubbles Animates Name
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,910 ▲16413.66 ▼0.326.13 ▲4.2741.68 ▼2.83
Dashboard /wp-admin2,206 ▲205.84 ▲0.92101.80 ▼17.0441.95 ▼5.08
Posts /wp-admin/edit.php2,089 ▼01.99 ▼0.0139.49 ▲0.8934.86 ▼3.20
Add New Post /wp-admin/post-new.php1,543 ▲2418.17 ▼5.30612.40 ▼60.2755.00 ▲2.93
Media Library /wp-admin/upload.php1,382 ▼04.21 ▲0.0196.42 ▼2.0941.19 ▼0.45

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
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

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
3 plugin tags: animation, animates name, bubbles name

bubbles-name/bubbles-name.php Passed 13 tests

The entry point to "Bubbles Animates Name" version 1.0.2 is a PHP file that has certain tags in its header comment area
107 characters long description:
Animates your name. When you move your mouse over your name, bubbles will scatter away and then reassemble.

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 plugin300 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript3642270
PHP2164130

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.08
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods3
▷ Static methods00.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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
No PNG images were found in this plugin