wootzapp / wootz-browser

Chromium fork for people to earn through data labeling. App-store that Pays Users - We build a Browser & a first-of-its-kind app store. Feels just like native apps!
GNU Affero General Public License v3.0
67 stars 36 forks source link

code cleanup issue #27

Open sandys opened 1 year ago

sandys commented 1 year ago
Analyzing wootz-browser...                                      
   info • Don't import implementation files from another package • lib/crypto_charts/crypto_chart.dart:15:8 • implementation_imports
   info • Use `lowercase_with_underscores` when specifying a library prefix • lib/crypto_charts/crypto_chart.dart:15:58 • library_prefixes
   info • Don't import implementation files from another package • lib/crypto_charts/crypto_chart.dart:16:8 • implementation_imports
   info • Unused import: 'package:cryptowallet/screens/dapp.dart' • lib/main.dart:4:8 • unused_import
   info • Unused import: 'package:cryptowallet/utils/wallet_black.dart' • lib/main.dart:9:8 • unused_import
   info • Unused import: 'package:device_info_plus/device_info_plus.dart' • lib/main.dart:11:8 • unused_import
   info • Unused import: 'firebase_options.dart' • lib/main.dart:16:8 • unused_import
   info • Unused import: 'package:page_transition/page_transition.dart' • lib/main.dart:22:8 • unused_import
   info • Unused import: 'package:cryptowallet/utils/alt_ens.dart' • lib/screens/confirm_seed_phrase.dart:5:8 • unused_import
   info • Unused import: 'package:cryptowallet/screens/main_screen.dart' • lib/screens/dapp.dart:4:8 • unused_import
   info • Unused import: 'package:cryptowallet/screens/security.dart' • lib/screens/dapp.dart:6:8 • unused_import
   info • Unused import: 'package:cryptowallet/screens/wallet_main_body.dart' • lib/screens/dapp.dart:8:8 • unused_import
   info • The import of 'package:flutter/foundation.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart' • lib/screens/dapp.dart:12:8 • unnecessary_import
   info • Unused import: 'package:flutter_js/extensions/fetch.dart' • lib/screens/dapp.dart:15:8 • unused_import
   info • Unused import: '../utils/wallet_black.dart' • lib/screens/dapp.dart:23:8 • unused_import
   info • The declaration '_buildWebViewTabsViewerActions' isn't referenced • lib/screens/dapp.dart:711:16 • unused_element
   info • Unused import: 'package:cryptowallet/utils/alt_ens.dart' • lib/screens/enter_phrase.dart:5:8 • unused_import
   info • The import of 'package:flutter/cupertino.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart' • lib/screens/enter_phrase.dart:8:8 • unnecessary_import
   info • Unused import: 'package:bs58check/bs58check.dart' • lib/screens/import_with_secret_share.dart:4:8 • unused_import
   info • Unused import: 'package:cryptowallet/utils/alt_ens.dart' • lib/screens/import_with_secret_share.dart:7:8 • unused_import
   info • The import of 'package:flutter/cupertino.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart' • lib/screens/import_with_secret_share.dart:11:8 • unnecessary_import
   info • The import of 'package:flutter/services.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/cupertino.dart' • lib/screens/import_with_secret_share.dart:14:8 • unnecessary_import
   info • Unused import: 'package:hex/hex.dart' • lib/screens/import_with_secret_share.dart:17:8 • unused_import
   info • Unused import: 'package:solana/base58.dart' • lib/screens/import_with_secret_share.dart:23:8 • unused_import
   info • Avoid unnecessary containers • lib/screens/import_with_secret_share.dart:177:54 • avoid_unnecessary_containers
   info • Unused import: 'dart:io' • lib/screens/language.dart:1:8 • unused_import
   info • Don't import implementation files from another package • lib/screens/language.dart:6:8 • implementation_imports
   info • The import of 'package:flutter/src/foundation/key.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart' • lib/screens/language.dart:6:8 • unnecessary_import
   info • Don't import implementation files from another package • lib/screens/language.dart:7:8 • implementation_imports
   info • The import of 'package:flutter/src/widgets/container.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart' • lib/screens/language.dart:7:8 • unnecessary_import
   info • Don't import implementation files from another package • lib/screens/language.dart:8:8 • implementation_imports
   info • The import of 'package:flutter/src/widgets/framework.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart' • lib/screens/language.dart:8:8 • unnecessary_import
   info • Unused import: 'package:blockfrost/blockfrost.dart' • lib/screens/recovery_pharse.dart:1:8 • unused_import
   info • Unused import: 'package:bs58check/bs58check.dart' • lib/screens/recovery_pharse.dart:2:8 • unused_import
   info • Unused import: 'package:hex/hex.dart' • lib/screens/recovery_pharse.dart:11:8 • unused_import
   info • Unused import: 'package:path_provider/path_provider.dart' • lib/screens/recovery_pharse.dart:13:8 • unused_import
   info • Avoid `print` calls in production code • lib/screens/recovery_pharse.dart:326:37 • avoid_print
   info • Unused import: 'package:cryptowallet/screens/dapp.dart' • lib/screens/saved_urls.dart:4:8 • unused_import
   info • Unused import: 'package:cryptowallet/screens/wallet_connect.dart' • lib/screens/settings.dart:8:8 • unused_import
   info • Unused import: 'package:cryptowallet/utils/json_viewer.dart' • lib/screens/settings.dart:9:8 • unused_import
   info • Unused import: 'package:cryptowallet/screens/main_screen.dart' • lib/screens/settings.dart:13:8 • unused_import
   info • Unused import: 'package:cryptowallet/screens/send_token.dart' • lib/screens/settings.dart:15:8 • unused_import
   info • Unused import: 'package:cryptowallet/screens/view_wallets.dart' • lib/screens/settings.dart:17:8 • unused_import
   info • Unused import: '../components/loader.dart' • lib/screens/settings.dart:24:8 • unused_import
   info • Unused import: '../utils/qr_scan_view.dart' • lib/screens/settings.dart:26:8 • unused_import
   info • Unused import: 'package:cryptowallet/crypto_charts/crypto_chart.dart' • lib/screens/token.dart:6:8 • unused_import
   info • Unused import: 'package:cryptowallet/screens/dapp.dart' • lib/screens/token.dart:7:8 • unused_import
   info • Unused import: 'package:font_awesome_flutter/font_awesome_flutter.dart' • lib/screens/token.dart:17:8 • unused_import
   info • Unused import: 'package:page_transition/page_transition.dart' • lib/screens/token.dart:22:8 • unused_import
   info • Avoid `print` calls in production code • lib/screens/token.dart:113:7 • avoid_print
   info • The import of 'package:flutter/foundation.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart' • lib/screens/transfer_token.dart:11:8 • unnecessary_import
   info • The value of the local variable 'getCardanoDetails' isn't used • lib/screens/transfer_token.dart:647:55 • unused_local_variable
   info • The value of the local variable 'amountToSend' isn't used • lib/screens/transfer_token.dart:658:53 • unused_local_variable
   info • Unused import: 'package:awesome_dialog/awesome_dialog.dart' • lib/screens/user_added_tokens.dart:4:8 • unused_import
   info • Unused import: 'package:flutter/services.dart' • lib/screens/user_added_tokens.dart:9:8 • unused_import
   info • Unused import: '../utils/navigator_service.dart' • lib/screens/view_wallets.dart:11:8 • unused_import
   info • The import of 'package:hive/hive.dart' is unnecessary because all of the used elements are also provided by the import of 'package:hive_flutter/hive_flutter.dart' • lib/screens/wallet_connect.dart:9:8 • unnecessary_import
   info • Unused import: 'package:wallet_connect/wallet_connect.dart' • lib/screens/wallet_connect.dart:11:8 • unused_import
   info • Unused import: '../main.dart' • lib/screens/wallet_connect.dart:13:8 • unused_import
   info • Unused import: 'dart:convert' • lib/screens/wallet_connect_preview.dart:1:8 • unused_import
   info • Unused import: 'package:awesome_dialog/awesome_dialog.dart' • lib/screens/wallet_connect_preview.dart:3:8 • unused_import
   info • Unused import: 'package:cryptowallet/main.dart' • lib/screens/wallet_connect_preview.dart:6:8 • unused_import
   info • Unused import: 'package:hive/hive.dart' • lib/screens/wallet_connect_preview.dart:10:8 • unused_import
   info • Unused import: 'package:flutter_gen/gen_l10n/app_localization.dart' • lib/screens/wallet_connect_preview.dart:11:8 • unused_import
   info • Unused import: 'package:wallet_connect/wallet_connect.dart' • lib/screens/wallet_connect_preview.dart:13:8 • unused_import
   info • Unused import: '../screens/transfer_token.dart' • lib/screens/webview_tab.dart:34:8 • unused_import
   info • Unused import: '../screens/view_wallets.dart' • lib/screens/webview_tab.dart:35:8 • unused_import
   info • 'signPersonalMessage' is deprecated and shouldn't be used. Please use [signPersonalMessageToUint8List] • lib/screens/webview_tab.dart:981:55 • deprecated_member_use
   info • Remove unnecessary backslashes in strings • lib/utils/json_viewer.dart:151:10 • unnecessary_string_escapes
   info • Remove unnecessary backslashes in strings • lib/utils/json_viewer.dart:151:31 • unnecessary_string_escapes
   info • Remove unnecessary backslashes in strings • lib/utils/json_viewer.dart:332:10 • unnecessary_string_escapes
   info • Remove unnecessary backslashes in strings • lib/utils/json_viewer.dart:332:27 • unnecessary_string_escapes
   info • Unused import: 'dart:collection' • lib/utils/rpc_urls.dart:1:8 • unused_import
   info • Unused import: 'dart:ffi' • lib/utils/rpc_urls.dart:3:8 • unused_import
   info • Unused import: 'package:device_info_plus/device_info_plus.dart' • lib/utils/rpc_urls.dart:15:8 • unused_import
   info • Unused import: 'package:mime/mime.dart' • lib/utils/rpc_urls.dart:34:8 • unused_import
   info • Dead code • lib/utils/rpc_urls.dart:852:3 • dead_code
   info • Dead code • lib/utils/rpc_urls.dart:877:3 • dead_code
   info • Dead code • lib/utils/rpc_urls.dart:905:3 • dead_code
   info • This function has a return type of 'FutureOr<double>', but doesn't end with a return statement • lib/utils/rpc_urls.dart:1479:16 • missing_return
   info • 'extractAddress' is deprecated and shouldn't be used. Please use [address] • lib/utils/rpc_urls.dart:1880:56 • deprecated_member_use
   info • 'signPersonalMessage' is deprecated and shouldn't be used. Please use [signPersonalMessageToUint8List] • lib/utils/wc_connector.dart:487:54 • deprecated_member_use

and


Warning: You are using these overridden dependencies:
! bip32 2.0.0
! collection 1.15.0 (1.17.0 available)
! convert 3.1.1
! ffi 1.2.1 (2.0.1 available)
! hex 0.2.0
! http 0.13.5
! permission_handler 10.2.0
! petitparser 4.4.0 (5.1.0 available)
! pinenacl 0.3.4 (0.5.1 available)
! pointycastle 3.6.2
! quiver 3.1.0
! xml 5.4.1 (6.2.2 available)
shivanshguleria commented 1 year ago

I would like to solve it but would be requiring some help

sandys commented 1 year ago

hi shivansh can u msg me on discord. will set you up!

On Sun, 19 Feb 2023 at 22:13, Shivansh Guleria @.***> wrote:

I would like to solve it but would be requiring some help

— Reply to this email directly, view it on GitHub https://github.com/wootzapp/wootz-browser/issues/27#issuecomment-1436035142, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAASYU3XMY5ZVGUZ6WEVBDLWYJEU5ANCNFSM6AAAAAATDZJQPU . You are receiving this because you authored the thread.Message ID: @.***>