68% chimpify

Code Review | Chimpify

WordPress plugin Chimpify scored68%from 54 tests.

About plugin

  • Plugin page: chimpify
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-6.0
  • WordPress version: 6.3.1
  • First release: Dec 6, 2016
  • Latest release: May 31, 2022
  • Number of updates: 10
  • Update frequency: every 199.6 days
  • Top authors: chimpify (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,343 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▼0.83MB] [CPU: ▼30.55ms] Passed 4 tests

Server-side resources used by Chimpify
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0837.14 ▼4.34
Dashboard /wp-admin3.11 ▼0.1924.13 ▼23.88
Posts /wp-admin/edit.php3.11 ▼0.2525.79 ▼22.82
Add New Post /wp-admin/post-new.php3.11 ▼2.7825.92 ▼63.83
Media Library /wp-admin/upload.php3.11 ▼0.1223.32 ▼11.67
Chimpify /wp-admin/options-general.php?page=chimpify/chimpify.php3.1125.59

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 8 new options
New WordPress options
widget_recent-posts
db_upgraded
theysaidso_admin_options
chimpify_apikey
widget_theysaidso_widget
chimpify_plugin_version
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Chimpify
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,824 ▲7813.30 ▼1.083.98 ▲2.2442.72 ▲3.44
Dashboard /wp-admin2,233 ▲484.85 ▼1.01107.43 ▲5.4142.80 ▲4.03
Posts /wp-admin/edit.php2,113 ▲242.04 ▼0.0640.97 ▲4.0935.53 ▲2.62
Add New Post /wp-admin/post-new.php1,563 ▲4918.52 ▲0.84592.88 ▼35.0656.45 ▲8.74
Media Library /wp-admin/upload.php1,412 ▲214.17 ▼0.0295.89 ▼1.7841.40 ▼3.70
Chimpify /wp-admin/options-general.php?page=chimpify/chimpify.php8122.0324.1124.46

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • Uninstall procedure had uncaught errors
    • > Notice in wp-content/plugins/chimpify/chimpify.php+857
    Undefined index: chimpify_action
  • Zombie WordPress options detected upon uninstall: 7 options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • chimpify_plugin_version
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=chimpify/chimpify.php
    • > Notice in wp-content/plugins/chimpify/chimpify.php+857
    Undefined index: chimpify_action

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
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chimpify/chimpify.php:85

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: api, migration, export, chimpify

chimpify/chimpify.php Passed 13 tests

The main PHP script in "Chimpify" version 1.0.4 is automatically included on every request by WordPress
113 characters long description:
Migrate your WordPress data to Chimpify or your Chimpify data to WordPress. Posts, comments, users & media files.

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
Good job! No executable or dangerous file extensions detected627 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP114397627

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.45
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%
Functions15
▷ Named functions15100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
There are no PNG files in this plugin