84% keptify

Code Review | Keptify Connect

WordPress plugin Keptify Connect scored84%from 54 tests.

About plugin

  • Plugin page: keptify
  • Plugin version: 1.5.1
  • PHP version: 7.4.16
  • WordPress compatibility: 2.0.2-4.5.3
  • WordPress version: 6.3.1
  • First release: Apr 11, 2016
  • Latest release: Jul 8, 2016
  • Number of updates: 12
  • Update frequency: every 7.6 days
  • Top authors: keptify (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /588 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

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

Server-side resources used by Keptify Connect
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0139.67 ▼5.30
Dashboard /wp-admin3.32 ▲0.0253.33 ▼1.77
Posts /wp-admin/edit.php3.38 ▲0.0251.62 ▼2.10
Add New Post /wp-admin/post-new.php5.91 ▲0.0295.90 ▼22.69
Media Library /wp-admin/upload.php3.25 ▲0.0239.88 ▲1.48
Keptify Code /wp-admin/options-general.php?page=keptify-code-settings3.2233.18

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_recent-posts
keptifycode_key
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for Keptify Connect
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,801 ▲4014.73 ▲0.502.17 ▲0.2840.41 ▼4.63
Dashboard /wp-admin2,200 ▲295.62 ▼0.0595.30 ▼8.8843.65 ▼7.30
Posts /wp-admin/edit.php2,108 ▲82.02 ▲0.0438.75 ▼0.6640.43 ▲9.37
Add New Post /wp-admin/post-new.php1,533 ▼223.14 ▲4.96610.09 ▼54.6048.32 ▼25.80
Media Library /wp-admin/upload.php1,411 ▲114.22 ▼0.09101.59 ▼6.8144.09 ▼1.02
Keptify Code /wp-admin/options-general.php?page=keptify-code-settings7871.9925.1129.45

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • keptifycode_key
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/keptify/index.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: settings, code, keptify

keptify/index.php 85% from 13 tests

"Keptify Connect" version 1.5.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("keptify.php" instead of "index.php")
  • Text Domain: Please use dashes and lowercase characters for text domains

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected80 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP181170
CSS1005
JavaScript1005

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.07
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected