icon-128x128.png
  • 84% quietly-insights

    Code Review | Quietly Insights

    WordPress plugin Quietly Insights scored 84% from 54 tests.

    About plugin

    • Plugin page: quietly-insights
    • Plugin version: 1.2.2
    • PHP compatiblity: 5.2.4+
    • PHP version: 7.4.16
    • WordPress compatibility: 4.0-5.3
    • WordPress version: 6.3.1
    • First release: Oct 23, 2017
    • Latest release: Dec 5, 2019
    • Number of updates: 27
    • Update frequency: every 28.6 days
    • Top authors: quietlyapp (100%)

    Code review

    54 tests

    User reviews

    1 review

    Install metrics

    10+ active / 1,500 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
    The plugin installed gracefully, with no errors

    Server metrics [RAM: ▲0.01MB] [CPU: ▼8.86ms] Passed 4 tests

    A check of server-side resources used by Quietly Insights
    No issues were detected with server-side resource usage
    PageMemory (MB)CPU Time (ms)
    Home /3.48 ▲0.0242.47 ▲0.92
    Dashboard /wp-admin3.32 ▲0.0244.03 ▼5.34
    Posts /wp-admin/edit.php3.37 ▲0.0147.70 ▼2.38
    Add New Post /wp-admin/post-new.php5.90 ▲0.0184.51 ▼26.15
    Media Library /wp-admin/upload.php3.24 ▲0.0135.23 ▼1.57

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

    Analyzing filesystem and database footprints of this plugin
    There were no storage issued detected upon installing this plugin
    Filesystem: 18 new files
    Database: no new tables, 8 new options
    New WordPress options
    can_compress_scripts
    widget_theysaidso_widget
    quietly-analytics_admin_activation_notice
    widget_recent-comments
    theysaidso_admin_options
    db_upgraded
    qap_id
    widget_recent-posts

    Browser metrics Passed 4 tests

    This is an overview of browser requirements for Quietly Insights
    This plugin has a minimal impact on browser resources
    PageNodesMemory (MB)Script (ms)Layout (ms)
    Home /2,817 ▲8213.28 ▼1.094.42 ▲2.8042.89 ▲2.73
    Dashboard /wp-admin2,223 ▲354.85 ▼1.03108.53 ▲3.6738.60 ▼3.35
    Posts /wp-admin/edit.php2,109 ▲202.06 ▲0.0140.17 ▲0.6735.60 ▼0.17
    Add New Post /wp-admin/post-new.php1,543 ▲923.55 ▲0.37665.93 ▲57.3665.93 ▲16.35
    Media Library /wp-admin/upload.php1,405 ▲144.17 ▼0.0398.12 ▲0.6343.51 ▲1.79

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

    🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
    It is recommended to fix the following
    • Zombie WordPress options were found after uninstall: 6 options
      • db_upgraded
      • theysaidso_admin_options
      • widget_recent-comments
      • can_compress_scripts
      • widget_theysaidso_widget
      • widget_recent-posts

    Smoke tests 75% from 4 tests

    Server-side errors Passed 1 test

    🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
    Even though everything seems fine, this is not an exhaustive test

    SRP 50% from 2 tests

    🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
    Please fix the following items
    • 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
      • > PHP Fatal error
        Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/quietly-insights/quietly-analytics.php:23
      • > PHP Fatal error
        Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/quietly-insights/views/quietly-analytics-settings.php:5
      • > PHP Fatal error
        Uncaught Error: Call to undefined function __() in wp-content/plugins/quietly-insights/views/quietly-analytics-activation-notice.php:11

    User-side errors Passed 1 test

    🔹 Test weight: 20 | A shallow check that no browser errors were triggered
    Everything seems fine on the user side

    Optimizations

    Plugin configuration 96% from 29 tests

    readme.txt Passed 16 tests

    Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
    4 plugin tags: analytics, content analysis, completion rate, read rate

    quietly-insights/quietly-analytics.php 92% from 13 tests

    The entry point to "Quietly Insights" version 1.2.2 is a PHP file that has certain tags in its header comment area
    It is important to fix the following:
    • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("quietly-insights.php" instead of "quietly-analytics.php")

    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
    There were no executable files found in this plugin494 lines of code in 8 files:
    LanguageFilesBlank linesComment linesLines of code
    PHP33332246
    CSS2233133
    JavaScript19776
    SVG20139

    PHP code Passed 2 tests

    An overview of cyclomatic complexity and code structure
    All good! No complexity issues found
    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
    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%
    Functions14
    ▷ Named functions14100.00%
    ▷ Anonymous functions00.00%
    Constants6
    ▷ Global constants6100.00%
    ▷ Class constants00.00%
    ▷ Public constants00.00%

    Plugin size 50% from 2 tests

    Image compression 50% from 2 tests

    It is recommended to compress PNG files in your plugin to minimize bandwidth usage
    8 PNG files occupy 0.60MB with 0.30MB in potential savings
    Potential savings
    Compression of 5 random PNG files using pngquant
    FileSize - originalSize - compressedSavings
    assets/banner-1544x500.png425.65KB301.77KB▼ 29.10%
    images/icon-x.png1.51KB0.37KB▼ 75.40%
    assets/icon-128x128.png14.63KB6.66KB▼ 54.47%
    images/logo-quietly-insights.png6.31KB3.12KB▼ 50.64%
    images/icon-check.png2.73KB1.60KB▼ 41.30%