84% exif-columns

Code Review | EXIF Columns

WordPress plugin EXIF Columns scored84%from 54 tests.

About plugin

  • Plugin page: exif-columns
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-3.5
  • WordPress version: 6.3.1
  • First release: Jan 16, 2013
  • Latest release: Jan 18, 2013
  • Number of updates: 6
  • Update frequency: every 0.3 days
  • Top authors: fergu5 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,861 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

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

Analyzing server-side resources used by EXIF Columns
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0045.08 ▲6.64
Dashboard /wp-admin3.31 ▲0.0144.16 ▼4.22
Posts /wp-admin/edit.php3.36 ▲0.0044.34 ▼0.47
Add New Post /wp-admin/post-new.php5.89 ▲0.0085.34 ▼3.32
Media Library /wp-admin/upload.php3.23 ▲0.0033.17 ▼0.23

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

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

Browser metrics Passed 4 tests

A check of browser resources used by EXIF Columns
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.28 ▼0.991.81 ▲0.0444.00 ▲4.89
Dashboard /wp-admin2,203 ▲155.82 ▲0.0095.62 ▼9.2738.23 ▼1.57
Posts /wp-admin/edit.php2,089 ▼02.08 ▲0.0833.49 ▼5.0131.86 ▼3.97
Add New Post /wp-admin/post-new.php1,514 ▼1917.56 ▼5.74679.94 ▲23.3254.94 ▼6.30
Media Library /wp-admin/upload.php1,388 ▲34.21 ▲0.0593.46 ▼19.8844.00 ▼3.01

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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
Please take a closer look at 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/exif-columns/exif-columns.php:25

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 97% 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
Attributes that require attention:
  • Donate link: Invalid URI ("")
The official readme.txt is a good inspiration

exif-columns/exif-columns.php Passed 13 tests

The main file in "EXIF Columns" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
75 characters long description:
Plugin to add missing EXIF columns to the WordPress built in Media Library.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected111 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1819111

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.47
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected