78% bulkpress-export

Code Review | BulkPress - Export

WordPress plugin BulkPress - Export scored78%from 54 tests.

About plugin

  • Plugin page: bulkpress-export
  • Plugin version: 0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.2
  • WordPress version: 6.3.1
  • First release: Mar 31, 2013
  • Latest release: Apr 6, 2023
  • Number of updates: 6
  • Update frequency: every 609.5 days
  • Top authors: meloniq (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

200+ active /7,751 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

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

An overview of server-side resources used by BulkPress - Export
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0254.70 ▲10.68
Dashboard /wp-admin3.32 ▲0.0252.57 ▼3.89
Posts /wp-admin/edit.php3.38 ▲0.0248.21 ▼4.34
Add New Post /wp-admin/post-new.php5.91 ▲0.0289.54 ▼10.42
Media Library /wp-admin/upload.php3.25 ▲0.0236.13 ▼0.58
BulkPress - Export /wp-admin/tools.php?page=bulkpress-export3.2334.61

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for BulkPress - Export
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.23 ▼0.321.83 ▲0.1244.84 ▲0.96
Dashboard /wp-admin2,199 ▲195.59 ▼0.0989.48 ▼1.7940.59 ▼2.09
Posts /wp-admin/edit.php2,104 ▲11.97 ▼0.0337.12 ▼1.6836.77 ▼1.11
Add New Post /wp-admin/post-new.php1,531 ▲323.06 ▼0.20690.52 ▲13.2554.25 ▼9.10
Media Library /wp-admin/upload.php1,407 ▲74.17 ▲0.0699.76 ▼11.1745.78 ▲1.49
BulkPress - Export /wp-admin/tools.php?page=bulkpress-export8702.0125.9427.84

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/bulkpress-export/bulkpress-export.php
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/bulkpress-export/admin-page.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 97% 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
Attributes that require attention:
  • Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
Please take inspiration from this readme.txt

bulkpress-export/bulkpress-export.php Passed 13 tests

The main file in "BulkPress - Export" v. 0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
71 characters long description:
Export taxonomies into formatted file compatible with BulkPress plugin.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected178 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP24663127
PO File1111351

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.31
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%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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