90% typing-text

Code Review | Typing Text

WordPress plugin Typing Text scored90%from 54 tests.

About plugin

  • Plugin page: typing-text
  • Plugin version: 1.2.4
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2
  • WordPress version: 6.3.1
  • First release: Aug 17, 2020
  • Latest release: Mar 30, 2023
  • Number of updates: 23
  • Update frequency: every 41.7 days
  • Top authors: wpdevteam (69.57%)alam789 (30.43%)re_enter_rupok (8.7%)

Code review

54 tests

User reviews

3 reviews

Install metrics

1,000+ active /12,075 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
Installer ran successfully

Server metrics [RAM: ▲0.16MB] [CPU: ▼2.81ms] Passed 4 tests

Analyzing server-side resources used by Typing Text
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.65 ▲0.1948.37 ▲12.67
Dashboard /wp-admin3.45 ▲0.1551.35 ▲2.31
Posts /wp-admin/edit.php3.57 ▲0.2147.62 ▲7.54
Add New Post /wp-admin/post-new.php6.06 ▲0.1784.05 ▼20.79
Media Library /wp-admin/upload.php3.37 ▲0.1537.51 ▼0.29

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Typing Text
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,903 ▲11713.56 ▼0.8410.61 ▲8.9542.50 ▲2.38
Dashboard /wp-admin2,198 ▲245.62 ▲0.0580.78 ▼19.5736.29 ▼10.45
Posts /wp-admin/edit.php2,100 ▼01.97 ▲0.0033.96 ▼6.5135.39 ▼1.59
Add New Post /wp-admin/post-new.php1,668 ▲13427.29 ▲9.09633.48 ▼10.2538.21 ▼30.60
Media Library /wp-admin/upload.php1,397 ▼64.18 ▼0.04101.26 ▼13.0344.36 ▼6.66

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: gutenberg, animated text, typing text, typewriter, type text...

typing-text/typing-text.php Passed 13 tests

The main file in "Typing Text" v. 1.2.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
56 characters long description:
Make Your Website Interactive With Typing Text Animation

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin772 lines of code in 20 files:
LanguageFilesBlank linesComment linesLines of code
PHP10106163692
JavaScript6111367
JSON10010
CSS3163

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.62
Average class complexity32.40
▷ Minimum class complexity1.00
▷ Maximum class complexity87.00
Average method complexity5.43
▷ Minimum method complexity1.00
▷ Maximum method complexity20.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes120.00%
Methods33
▷ Static methods1236.36%
▷ Public methods2987.88%
▷ Protected methods00.00%
▷ Private methods412.12%
Functions4
▷ Named functions125.00%
▷ Anonymous functions375.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin