84% export-plugin-details

Code Review | Export Plugin Details

WordPress plugin Export Plugin Details scored 84% from 54 tests.

About plugin

  • Plugin page: export-plugin-det...
  • Plugin version: 1.1.7
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-6.1
  • WordPress version: 6.3.1
  • First release: Oct 13, 2018
  • Latest release: Nov 2, 2022
  • Number of updates: 17
  • Update frequency: every 87.2 days
  • Top authors: boopathi0001 (100%)

Code review

54 tests

User reviews

14 reviews

Install metrics

3,000+ active / 14,787 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.03MB] [CPU: ▼0.75ms] Passed 4 tests

A check of server-side resources used by Export Plugin Details
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0339.90 ▼0.42
Dashboard /wp-admin3.33 ▲0.0344.16 ▼4.37
Posts /wp-admin/edit.php3.38 ▲0.0349.48 ▲0.47
Add New Post /wp-admin/post-new.php5.91 ▲0.0399.03 ▲9.13
Media Library /wp-admin/upload.php3.26 ▲0.0335.67 ▲1.31
Export Plugin Details /wp-admin/tools.php?page=export-plugins3.24458.87
Plugin Details Export /wp-admin/admin.php?page=export-plugins-csv3.24464.23

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Export Plugin Details
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲9413.33 ▼1.211.96 ▼0.1240.12 ▼8.16
Dashboard /wp-admin2,210 ▲224.87 ▼0.05108.06 ▼0.8842.97 ▼4.48
Posts /wp-admin/edit.php2,093 ▲42.05 ▲0.0841.48 ▼1.3036.04 ▼2.45
Add New Post /wp-admin/post-new.php1,536 ▲2223.26 ▲5.42584.03 ▼94.4858.75 ▼3.51
Media Library /wp-admin/upload.php1,395 ▲104.24 ▲0.0398.47 ▼2.2741.70 ▼0.43
Export Plugin Details /wp-admin/tools.php?page=export-plugins8282.0326.9524.91
Plugin Details Export /wp-admin/admin.php?page=export-plugins-csv7562.0223.7419.22

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
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% 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
Please fix the following items
  • 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/export-plugin-details/export-plugin-details.php:16

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: plugin details, export plugin details, csv, csv export, export plugin information...

export-plugin-details/export-plugin-details.php Passed 13 tests

This is the main PHP file of "Export Plugin Details" version 1.1.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
67 characters long description:
Easy way to export plugin details and their version details in CSV.

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 detected175 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP11913175

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.35
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin