84% bulk-entry

Code Review | Bulk Entry

WordPress plugin Bulk Entry scored 84% from 54 tests.

About plugin

  • Plugin page: bulk-entry
  • Plugin version: 1.4.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.6
  • WordPress version: 6.3.1
  • First release: Apr 9, 2013
  • Latest release: Aug 28, 2016
  • Number of updates: 22
  • Update frequency: every 56.3 days
  • Top authors: TJNowell (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 2,353 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.06MB] [CPU: ▼0.06ms] Passed 4 tests

An overview of server-side resources used by Bulk Entry
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0639.90 ▼2.25
Dashboard /wp-admin3.37 ▲0.0749.68 ▲0.96
Posts /wp-admin/edit.php3.48 ▲0.1350.82 ▲2.77
Add New Post /wp-admin/post-new.php5.95 ▲0.0695.24 ▼1.71
Media Library /wp-admin/upload.php3.29 ▲0.0639.04 ▲3.70
Bulk Entry /wp-admin/tools.php?page=bulk_entry3.3033.04

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Bulk Entry
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,833 ▲9813.64 ▼1.034.58 ▲2.5544.75 ▲0.59
Dashboard /wp-admin2,211 ▲265.86 ▲0.0099.14 ▼7.1340.07 ▼5.44
Posts /wp-admin/edit.php2,100 ▲112.16 ▲0.1541.27 ▲3.7535.49 ▲2.55
Add New Post /wp-admin/post-new.php1,527 ▼623.41 ▲0.26623.89 ▼54.5657.83 ▲6.34
Media Library /wp-admin/upload.php1,399 ▲114.10 ▼0.00110.58 ▲3.3248.18 ▲3.56
Bulk Entry /wp-admin/tools.php?page=bulk_entry1,3205.93107.5428.43

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded

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
The smoke test was a success, however most plugin functionality was not tested

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 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/bulk-entry/bulk-entry.php:46

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: admin, posts, bulk

bulk-entry/bulk-entry.php Passed 13 tests

The primary PHP file in "Bulk Entry" version 1.4.2 is used by WordPress to initiate all plugin functionality
46 characters long description:
A tool for the bulk entry of posts, pages, etc

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected538 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP17356288
JavaScript1167154
CSS116185
Markdown13011

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.07
Average class complexity15.00
▷ Minimum class complexity15.00
▷ Maximum class complexity15.00
Average method complexity1.67
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods21
▷ Static methods00.00%
▷ Public methods1885.71%
▷ Protected methods00.00%
▷ Private methods314.29%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.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
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png41.61KB14.57KB▼ 64.99%
screenshot-2.png11.82KB5.03KB▼ 57.49%