84% honkify

Code Review | Honkify

WordPress plugin Honkify scored84%from 54 tests.

About plugin

  • Plugin page: honkify
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.1++
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.2.3
  • WordPress version: 6.3.1
  • First release: Oct 11, 2019
  • Latest release: Oct 11, 2019
  • Number of updates: 6
  • Update frequency: N/A
  • Top authors: killua99 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /510 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 successfully, without throwing any errors or notices

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

Server-side resources used by Honkify
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.0937.69 ▲0.16
Dashboard /wp-admin3.39 ▲0.0545.51 ▼7.80
Posts /wp-admin/edit.php3.51 ▲0.1545.23 ▲2.66
Add New Post /wp-admin/post-new.php5.97 ▲0.0881.62 ▼16.05
Media Library /wp-admin/upload.php3.31 ▲0.0834.98 ▼1.57

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Honkify
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,794 ▲4814.18 ▼0.172.19 ▲0.5344.05 ▲3.82
Dashboard /wp-admin2,189 ▲115.53 ▼0.1787.85 ▼15.8939.17 ▼5.13
Posts /wp-admin/edit.php2,097 ▼31.98 ▼0.0535.66 ▼0.7234.94 ▼0.62
Add New Post /wp-admin/post-new.php1,526 ▼023.11 ▼0.07664.83 ▼17.3046.91 ▼9.96
Media Library /wp-admin/upload.php1,397 ▲34.16 ▼0.0794.82 ▼8.1243.39 ▲0.39

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

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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 93× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/honkify/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/honkify/vendor/composer/installers/src/Composer/Installers/AglInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/honkify/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/honkify/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/honkify/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/honkify/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/honkify/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/honkify/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/honkify/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/honkify/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: honk, goose

honkify/honkify.php 85% from 13 tests

Analyzing the main PHP file in "Honkify" version 1.0.0
Please make the necessary changes and fix the following:
  • Domain Path: The domain path folder does not exist ("/languages/")
  • Requires PHP: Required version number should only contain digits separated by dots (ex. "7.0" instead of "7.1+")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin2,658 lines of code in 109 files:
LanguageFilesBlank linesComment linesLines of code
PHP1054146372,390
JSON300267
JavaScript1001

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.27
Average class complexity2.44
▷ Minimum class complexity1.00
▷ Maximum class complexity44.00
Average method complexity2.37
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces4
Interfaces0
Traits1
Classes98
▷ Abstract classes11.02%
▷ Concrete classes9798.98%
▷ Final classes00.00%
Methods110
▷ Static methods76.36%
▷ Public methods7366.36%
▷ Protected methods3128.18%
▷ Private methods65.45%
Functions8
▷ Named functions225.00%
▷ Anonymous functions675.00%
Constants7
▷ Global constants457.14%
▷ Class constants342.86%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin