83% custom-fields-missing-when-acf-is-active

Code Review | Custom Fields Missing When ACF is Active

WordPress plugin Custom Fields Missing When ACF is Active scored 83% from 54 tests.

About plugin

  • Plugin page: custom-fields-mis...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8
  • WordPress version: 6.3.1
  • First release: Aug 25, 2021
  • Latest release: Aug 25, 2021
  • Number of updates: 6
  • Update frequency: N/A
  • Top authors: crishnakh (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 319 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.00MB] [CPU: ▼6.99ms] Passed 4 tests

This is a short check of server-side resources used by Custom Fields Missing When ACF is Active
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0133.46 ▼8.47
Dashboard /wp-admin3.31 ▲0.0146.64 ▼5.57
Posts /wp-admin/edit.php3.36 ▲0.0043.06 ▼4.03
Add New Post /wp-admin/post-new.php5.89 ▲0.0096.23 ▼9.88
Media Library /wp-admin/upload.php3.23 ▲0.0034.53 ▲0.90

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Custom Fields Missing When ACF is Active
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4313.21 ▼1.541.65 ▼0.7640.80 ▼2.99
Dashboard /wp-admin2,209 ▲234.86 ▼0.1099.56 ▼11.0338.92 ▼0.28
Posts /wp-admin/edit.php2,086 ▼31.96 ▼0.0432.84 ▼3.0734.95 ▲1.98
Add New Post /wp-admin/post-new.php1,542 ▲2818.66 ▲1.22614.61 ▼32.7561.44 ▲5.72
Media Library /wp-admin/upload.php1,388 ▲64.21 ▼0.0294.19 ▼3.3141.77 ▼1.66

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
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/custom-fields-missing-when-acf-is-active/wp-custom-fields-missing.php:24

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 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
Please fix the following attributes:
  • Requires php: Version not formatted correctly
Please take inspiration from this readme.txt

custom-fields-missing-when-acf-is-active/wp-custom-fields-missing.php 85% from 13 tests

"Custom Fields Missing When ACF is Active" version 1.0.0'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 ("custom-fields-missing-when-acf-is-active.php" instead of "wp-custom-fields-missing.php")
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

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
No dangerous file extensions were detected2 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP11212

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin