84% export-all-post-meta

Code Review | Export All Post Meta

WordPress plugin Export All Post Meta scored84%from 54 tests.

About plugin

  • Plugin page: export-all-post-meta
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-6.0
  • WordPress version: 6.3.1
  • First release: Jun 27, 2016
  • Latest release: Jun 14, 2022
  • Number of updates: 10
  • Update frequency: every 217.8 days
  • Top authors: brainvireinfo (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

200+ active /5,937 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.05MB] [CPU: ▼6.40ms] Passed 4 tests

This is a short check of server-side resources used by Export All Post Meta
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0543.36 ▲2.46
Dashboard /wp-admin3.36 ▲0.0549.05 ▼5.46
Posts /wp-admin/edit.php3.41 ▲0.0551.57 ▼2.48
Add New Post /wp-admin/post-new.php5.94 ▲0.0586.69 ▼20.11
Media Library /wp-admin/upload.php3.28 ▲0.0543.11 ▲4.60
Export Posts /wp-admin/tools.php?page=eapm-export-posts3.2535.93

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Export All Post Meta
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.35 ▲0.131.74 ▲0.1138.52 ▼5.57
Dashboard /wp-admin2,190 ▲135.54 ▼0.0691.82 ▲2.2141.98 ▲2.61
Posts /wp-admin/edit.php2,107 ▲71.99 ▲0.0136.25 ▼5.8034.86 ▼1.13
Add New Post /wp-admin/post-new.php1,534 ▲623.02 ▲0.02689.44 ▼5.2454.33 ▼7.61
Media Library /wp-admin/upload.php1,407 ▲74.19 ▲0.01101.06 ▼10.7247.73 ▼0.14
Export Posts /wp-admin/tools.php?page=eapm-export-posts1,0771.9622.2125.17

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
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/tools.php?page=eapm-export-posts
    • > Notice in wp-content/plugins/export-all-post-meta/export-all-post-meta-class.php+334
    Trying to access array offset on value of type bool

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 a shallow check for browser errors
There were no browser issues found

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 need to be fixed:
  • Screenshots: Screenshot #1 (Settings Page) image not found
Please take inspiration from this readme.txt

export-all-post-meta/export-all-post-meta.php Passed 13 tests

The main PHP file in "Export All Post Meta" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
78 characters long description:
Export WordPress post with all serialized post meta in readable in CSV format.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin275 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP26912275

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity51.00
▷ Minimum class complexity51.00
▷ Maximum class complexity51.00
Average method complexity2.50
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions00.00%
▷ Anonymous functions2100.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected