84% all-the-ipsums

Code Review | ALL THE IPSUMS!!!

WordPress plugin ALL THE IPSUMS!!! scored84%from 54 tests.

About plugin

  • Plugin page: all-the-ipsums
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-3.8
  • WordPress version: 6.3.1
  • First release: Jun 3, 2014
  • Latest release: Jun 3, 2014
  • Number of updates: 2
  • Update frequency: every 19.5 days
  • Top authors: johnbhartley (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,403 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
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by ALL THE IPSUMS!!!
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0033.27 ▼12.50
Dashboard /wp-admin3.31 ▼0.0444.55 ▼13.49
Posts /wp-admin/edit.php3.36 ▲0.0046.14 ▲3.57
Add New Post /wp-admin/post-new.php5.89 ▲0.0079.75 ▼6.49
Media Library /wp-admin/upload.php3.23 ▲0.0034.38 ▲1.78

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

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

Browser metrics Passed 4 tests

Checking browser requirements for ALL THE IPSUMS!!!
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲5414.04 ▼0.221.75 ▼0.0837.88 ▼0.48
Dashboard /wp-admin2,195 ▲185.61 ▼0.1884.04 ▼3.0338.49 ▼2.20
Posts /wp-admin/edit.php2,097 ▼61.98 ▲0.0434.75 ▼2.6231.00 ▼4.85
Add New Post /wp-admin/post-new.php1,528 ▼023.08 ▲0.05628.62 ▼86.6152.14 ▼7.00
Media Library /wp-admin/upload.php1,397 ▼34.31 ▲0.1299.68 ▼12.3942.31 ▼4.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
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 75% 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 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
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/all-the-ipsums/index.php:34

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: lorem ipsum, ipsum, generator, lorem, dummy text

all-the-ipsums/index.php 92% from 13 tests

The main file in "ALL THE IPSUMS!!!" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("all-the-ipsums.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin138 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP46839138

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.10
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%
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
There are no PNG files in this plugin