10% aims-textarea-wordcount-withwithout-space-for-contact-form-7

Code Review | Aims Textarea Wordcount with/without Space For Contact Form 7| Aims Infosoft

WordPress plugin Aims Textarea Wordcount with/without Space For Contact Form 7| Aims Infosoft scored10%from 54 tests.

About plugin

  • Plugin page: aims-textarea-wor...
  • Plugin version: 1.0.8
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Jan 24, 2020
  • Latest release: Oct 18, 2023
  • Number of updates: 43
  • Update frequency: every 31.7 days
  • Top authors: aimsinfosofts (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /3,424 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
  • This plugin did not install gracefully
    • > Warning in wp-includes/functions.php+6691
    file_get_contents(wp-content/plugins//contact-form-7/wp-contact-form-7.php): failed to open stream: No such file or directory

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.43ms] Passed 4 tests

Analyzing server-side resources used by Aims Textarea Wordcount with/without Space For Contact Form 7| Aims Infosoft
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0036.72 ▼0.64
Dashboard /wp-admin3.31 ▲0.0043.94 ▼5.79
Posts /wp-admin/edit.php3.36 ▲0.0043.50 ▼3.33
Add New Post /wp-admin/post-new.php5.89 ▲0.0077.23 ▼7.95
Media Library /wp-admin/upload.php3.23 ▲0.0033.70 ▼0.42

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Aims Textarea Wordcount with/without Space For Contact Form 7| Aims Infosoft
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲314.10 ▼0.261.58 ▼0.3041.72 ▲1.93
Dashboard /wp-admin2,198 ▲245.61 ▲0.0281.94 ▼7.3140.25 ▼3.53
Posts /wp-admin/edit.php2,100 ▲31.99 ▲0.0135.78 ▼0.2331.87 ▼4.47
Add New Post /wp-admin/post-new.php1,526 ▼023.51 ▲0.52682.68 ▲36.3355.20 ▲6.10
Media Library /wp-admin/upload.php1,394 ▼94.17 ▼0.0796.33 ▼3.7941.12 ▼4.78

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/aims-textarea-wordcount-withwithout-space-for-contact-form-7/aims-textarea-wordcount-withwithout-space-for-contact-form-7.php:28

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: contact, withoutspace, textarea wordcount, word, form...

aims-textarea-wordcount-withwithout-space-for-contact-form-7/aims-textarea-wordcount-withwithout-space-for-contact-form-7.php 85% from 13 tests

The entry point to "Aims Textarea Wordcount with/without Space For Contact Form 7| Aims Infosoft" version 1.0.8 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
  • Description: Please keep the plugin description shorter than 140 characters (currently 149 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin247 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP15935206
JavaScript15441

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.36
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%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.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
There were not PNG files found in your plugin