62% filled-in

Code Review | Filled In

WordPress plugin Filled In scored62%from 54 tests.

About plugin

  • Plugin page: filled-in
  • Plugin version: 1.8.23
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7-4.9.6
  • WordPress version: 6.3.1
  • First release: Feb 13, 2010
  • Latest release: Aug 10, 2020
  • Number of updates: 48
  • Update frequency: every 80.1 days
  • Top authors: FolioVision (93.75%)johnny5 (8.33%)

Code review

54 tests

User reviews

3 reviews

Install metrics

60+ active /12,731 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼13.62ms] Passed 4 tests

Analyzing server-side resources used by Filled In
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.70 ▲0.2442.55 ▲4.59
Dashboard /wp-admin3.37 ▲0.0734.95 ▼16.68
Posts /wp-admin/edit.php3.49 ▲0.1337.73 ▼9.36
Add New Post /wp-admin/post-new.php5.62 ▼0.2774.53 ▼17.41
Media Library /wp-admin/upload.php3.37 ▲0.1529.26 ▼11.02

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 146 new files
Database: 5 new tables, 10 new options
New tables
wp_filled_in_forms
wp_filled_in_useragents
wp_filled_in_errors
wp_filled_in_extensions
wp_filled_in_data
New WordPress options
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
can_compress_scripts
filled_in
widget_theysaidso_widget
filled_in_version
filled_in_cron_delete_failed
filled_in_notifications
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Filled In
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,859 ▲11313.48 ▼0.891.52 ▼0.2541.15 ▼4.51
Dashboard /wp-admin2,265 ▲775.00 ▲0.09106.75 ▼1.2640.01 ▼3.16
Posts /wp-admin/edit.php2,151 ▲622.33 ▲0.3448.14 ▲8.3136.71 ▲2.72
Add New Post /wp-admin/post-new.php1,543 ▲1022.91 ▲0.00617.36 ▼15.1551.76 ▲8.71
Media Library /wp-admin/upload.php1,444 ▲534.50 ▲0.27103.61 ▼1.8344.80 ▼2.22
Filled In /wp-admin/filled_in.php260.440.2215.64

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • Zombie tables detected upon uninstall: 5 tables
    • wp_filled_in_data
    • wp_filled_in_errors
    • wp_filled_in_useragents
    • wp_filled_in_extensions
    • wp_filled_in_forms
  • The uninstall procedure has failed, leaving 10 options in the database
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • filled_in
    • widget_recent-posts
    • can_compress_scripts
    • filled_in_notifications
    • filled_in_version
    • filled_in_cron_delete_failed
    • widget_theysaidso_widget

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 36× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
    • > /wp-content/plugins/filled-in/view/admin/form/list_entry.php
    • > /wp-content/plugins/filled-in/view/admin/stat/stat_columns.php
    • > /wp-content/plugins/filled-in/view/filled-in/head.php
    • > /wp-content/plugins/filled-in/view/admin/email/edit_template.php
    • > /wp-content/plugins/filled-in/view/admin/submenu.php
    • > /wp-content/plugins/filled-in/view/admin/report/report.php
    • > /wp-content/plugins/filled-in/view/admin/email/attachments.php
    • > /wp-content/plugins/filled-in/view/filled-in/error_list.php
    • > /wp-content/plugins/filled-in/lib/freecap/freecap.php
    • > /wp-content/plugins/filled-in/view/admin/pager_forms.php
  • 58× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'FI_Data_Source' not found in wp-content/plugins/filled-in/models/data/source_cookies.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'FI_Filter' not found in wp-content/plugins/filled-in/extensions/filters/is_email.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'FI_Results' not found in wp-content/plugins/filled-in/extensions/result/redirect_to_post.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'FI_Filter' not found in wp-content/plugins/filled-in/extensions/filters/is_greater.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'FI_Filter' not found in wp-content/plugins/filled-in/extensions/filters/is_required.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Filled_In_Plugin' not found in wp-content/plugins/filled-in/models/form_replacer.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Filled_In_Plugin' not found in wp-content/plugins/filled-in/controller/front.php:3
    • > PHP Warning
      include(): Failed opening 'wp-load.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/filled-in/custom_scripts/filled_in_cleaner.php on line 3
    • > PHP Fatal error
      Uncaught Error: Class 'Filled_In_Foliopress_Plugin' not found in wp-content/plugins/filled-in/plugin.php:109
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/filled-in/controller/cron.php:24

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
    • > GET request to /wp-admin/filled_in.php
    • > Network (severe)
    wp-admin/filled_in.php - Failed to load resource: the server responded with a status of 404 (Not 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
These attributes need to be fixed:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === filled-in === )
You can take inspiration from this readme.txt

filled-in/filled_in.php 85% from 13 tests

"Filled In" version 1.8.23's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 147 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("filled-in.php" instead of "filled_in.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected11,988 lines of code in 109 files:
LanguageFilesBlank linesComment linesLines of code
PHP981,6991,3827,327
PO File51,8672,1304,102
CSS2927370
JavaScript2249125
SQL122061
Markdown1103

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.47
Average class complexity19.05
▷ Minimum class complexity1.00
▷ Maximum class complexity116.00
Average method complexity3.43
▷ Minimum method complexity1.00
▷ Maximum method complexity23.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes61
▷ Abstract classes00.00%
▷ Concrete classes61100.00%
▷ Final classes00.00%
Methods455
▷ Static methods91.98%
▷ Public methods455100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
8 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/sort.png0.90KB0.74KB▼ 17.93%
images/datechooser.png0.63KB0.44KB▼ 30.14%
images/disable.png0.97KB0.85KB▼ 12.26%
images/stat_error.png0.92KB0.88KB▼ 4.38%
images/enable.png0.97KB0.76KB▼ 22.07%