90% inlexa

Code Review | Inlexa - Text Assistant for Writing Inclusive Texts

WordPress plugin Inlexa - Text Assistant for Writing Inclusive Texts scored90%from 54 tests.

About plugin

  • Plugin page: inlexa
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4-5.8
  • WordPress version: 6.3.1
  • First release: Oct 15, 2021
  • Latest release: Oct 15, 2021
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: davilera (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /346 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.70MB] [CPU: ▼16.09ms] Passed 4 tests

An overview of server-side resources used by Inlexa - Text Assistant for Writing Inclusive Texts
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0037.28 ▼2.21
Dashboard /wp-admin3.31 ▼0.0344.87 ▼9.12
Posts /wp-admin/edit.php3.36 ▲0.0139.34 ▼6.74
Add New Post /wp-admin/post-new.php3.13 ▼2.7633.78 ▼46.30
Media Library /wp-admin/upload.php3.24 ▲0.0135.37 ▲1.79
Inlexa Account /wp-admin/options-general.php?page=inlexa3.2329.83

Server storage [IO: ▲0.23MB] [DB: ▲0.07MB] Passed 3 tests

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

Inlexa - Text Assistant for Writing Inclusive Texts: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲2214.21 ▼0.361.78 ▼0.0644.40 ▲3.90
Dashboard /wp-admin2,196 ▲155.49 ▼0.2285.26 ▼12.6937.51 ▼1.45
Posts /wp-admin/edit.php2,104 ▲41.94 ▼0.0833.34 ▼6.2837.08 ▲2.57
Add New Post /wp-admin/post-new.php1,543 ▲1723.80 ▲0.00679.13 ▼48.4454.62 ▲2.39
Media Library /wp-admin/upload.php1,407 ▲104.24 ▲0.0897.55 ▼6.6342.31 ▼2.85
Inlexa Account /wp-admin/options-general.php?page=inlexa8654.4371.5733.47

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: text assistant, gender equality, diversity, inclusivity

inlexa/inlexa.php Passed 13 tests

The main file in "Inlexa - Text Assistant for Writing Inclusive Texts" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
108 characters long description:
Inlexa is a language assistant that helps you write more inclusive and diverse texts in Spanish and Catalan.

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
There were no executable files found in this plugin154 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP73025152
JavaScript2002

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.17
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
Namespaces2
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%
Functions16
▷ Named functions1275.00%
▷ Anonymous functions425.00%
Constants1
▷ Global constants1100.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
PNG images were not found in this plugin