90% informizely

Code Review | Informizely

WordPress plugin Informizely scored90%from 54 tests.

About plugin

  • Plugin page: informizely
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.2
  • WordPress version: 6.3.1
  • First release: May 3, 2023
  • Latest release: May 3, 2023
  • Number of updates: 5
  • Update frequency: N/A
  • Top authors: informizely (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /105 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.00MB] [CPU: ▼7.88ms] Passed 4 tests

An overview of server-side resources used by Informizely
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.47 ▲4.03
Dashboard /wp-admin3.31 ▼0.0348.71 ▼8.85
Posts /wp-admin/edit.php3.36 ▲0.0141.68 ▼5.13
Add New Post /wp-admin/post-new.php5.89 ▲0.0178.93 ▼21.58
Media Library /wp-admin/upload.php3.24 ▲0.0134.95 ▲5.56
Informizely /wp-admin/options-general.php?page=informizely3.2028.61

Server storage [IO: ▲0.01MB] [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
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
widget_recent-comments
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for Informizely
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲8314.48 ▲0.101.86 ▼0.1140.22 ▼3.77
Dashboard /wp-admin2,210 ▲225.85 ▲0.9397.80 ▼6.5338.22 ▼7.70
Posts /wp-admin/edit.php2,090 ▲11.99 ▼0.0234.33 ▼8.4332.22 ▼5.13
Add New Post /wp-admin/post-new.php1,537 ▲2023.17 ▲5.60667.91 ▲75.0865.54 ▲13.32
Media Library /wp-admin/upload.php1,392 ▲14.17 ▼0.0496.74 ▲0.7141.75 ▼2.12
Informizely /wp-admin/options-general.php?page=informizely7962.0328.1226.14

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

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

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
  • Tags: Please delete some tags, you are using 15 tag instead of maximum 10
You can look at the official readme.txt

informizely/informizely.php Passed 13 tests

Analyzing the main PHP file in "Informizely" version 1.0.0
138 characters long description:
Informizely allows you to quickly get winning insights by showing beautiful and precisely targeted website surveys in your WordPress site.

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

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.24
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%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/Logo.png3.28KB3.39KB0.00%