89% va-removing-exif

Code Review | VA Removing Exif

WordPress plugin VA Removing Exif scored89%from 54 tests.

About plugin

  • Plugin page: va-removing-exif
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-4.7
  • WordPress version: 6.3.1
  • First release: Dec 8, 2016
  • Latest release: Dec 19, 2016
  • Number of updates: 4
  • Update frequency: every 1.5 days
  • Top authors: kuck1u (100%)

Code review

54 tests

User reviews

1 review

Install metrics

400+ active /7,264 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

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

Server-side resources used by VA Removing Exif
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.37 ▲1.71
Dashboard /wp-admin3.32 ▲0.0244.33 ▼3.94
Posts /wp-admin/edit.php3.43 ▲0.0843.89 ▼5.25
Add New Post /wp-admin/post-new.php5.90 ▲0.0290.40 ▼6.65
Media Library /wp-admin/upload.php3.24 ▲0.0235.66 ▼3.24

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for VA Removing Exif
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.25 ▼1.121.79 ▲0.0943.27 ▲1.71
Dashboard /wp-admin2,206 ▲184.88 ▼1.01109.29 ▲8.2842.12 ▲0.12
Posts /wp-admin/edit.php2,089 ▼32.04 ▼0.0139.78 ▲0.1734.97 ▲0.33
Add New Post /wp-admin/post-new.php1,542 ▲918.36 ▼4.95587.47 ▼98.7053.33 ▼11.37
Media Library /wp-admin/upload.php1,388 ▲34.22 ▼0.0397.54 ▼3.5143.54 ▼1.44

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • 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 Passed 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 Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
  • Tags: Please delete some tags, you are using 11 tag instead of maximum 10
Please take inspiration from this readme.txt

va-removing-exif/removing-exif.php 92% from 13 tests

Analyzing the main PHP file in "VA Removing Exif" version 1.0.1
You should first fix the following items:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("va-removing-exif.php" instead of "removing-exif.php")

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
Good job! No executable or dangerous file extensions detected240 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP759268209
PO File15531

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity7.00
▷ Minimum class complexity2.00
▷ Maximum class complexity17.00
Average method complexity2.29
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces1
Interfaces0
Traits1
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods14
▷ Static methods214.29%
▷ Public methods1071.43%
▷ Protected methods428.57%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants7100.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