84% nuttifox-support

Code Review | Nuttifox Support

WordPress plugin Nuttifox Support scored84%from 54 tests.

About plugin

  • Plugin page: nuttifox-support
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.1-4.9.4
  • WordPress version: 6.3.1
  • First release: Mar 13, 2018
  • Latest release: Mar 13, 2018
  • Number of updates: 2
  • Update frequency: every 13.0 days
  • Top authors: nuttifox (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

10+ active /522 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.08MB] [CPU: ▼0.52ms] Passed 4 tests

A check of server-side resources used by Nuttifox Support
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.0742.25 ▼1.73
Dashboard /wp-admin5.09 ▲1.75808.42 ▲756.41
Posts /wp-admin/edit.php3.52 ▲0.1248.78 ▼0.07
Add New Post /wp-admin/post-new.php6.01 ▲0.0898.00 ▼1.95
Media Library /wp-admin/upload.php3.33 ▲0.0636.94 ▲1.67

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Nuttifox Support
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,016 ▲25515.62 ▲0.974.82 ▲3.2334.93 ▼6.97
Dashboard /wp-admin2,339 ▲1627.02 ▲1.49147.73 ▲55.9267.39 ▲27.83
Posts /wp-admin/edit.php2,101 ▲13.67 ▲1.6598.46 ▲61.2836.74 ▼2.00
Add New Post /wp-admin/post-new.php1,544 ▲1819.48 ▼3.76819.76 ▲162.6636.00 ▼13.23
Media Library /wp-admin/upload.php1,419 ▲195.47 ▲1.29169.08 ▲71.6740.97 ▼1.44

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
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 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
Please take a closer look at the following
  • 2× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/nuttifox-support/public/partials/nuttifox-support-public-display.php
    • > /wp-content/plugins/nuttifox-support/admin/partials/nuttifox-support-admin-display.php

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% 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:
  • Plugin Name: Please specify the plugin name on the first line ( === nuttifox-support === )
  • Screenshots: Screenshot #2 (This is the second screen shot) image required
The official readme.txt is a good inspiration

nuttifox-support/nuttifox-support.php Passed 13 tests

"Nuttifox Support" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected452 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
PHP12125537272
CSS21510151
JavaScript255629

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.15
Average class complexity1.43
▷ Minimum class complexity1.00
▷ Maximum class complexity3.00
Average method complexity1.13
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods23
▷ Static methods28.70%
▷ Public methods1878.26%
▷ Protected methods00.00%
▷ Private methods521.74%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
PNG images were not found in this plugin