68% sell-content

Code Review | Sell Content with Oronjo

WordPress plugin Sell Content with Oronjo scored68%from 54 tests.

About plugin

  • Plugin page: sell-content
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.9
  • WordPress version: 6.3.1
  • First release: Dec 17, 2015
  • Latest release: Feb 2, 2018
  • Number of updates: 8
  • Update frequency: every 97.4 days
  • Top authors: rluitwieler (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,175 total downloads

Benchmarks

Plugin footprint 65% 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.86MB] [CPU: ▼40.14ms] Passed 4 tests

This is a short check of server-side resources used by Sell Content with Oronjo
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1138.64 ▼4.70
Dashboard /wp-admin3.09 ▼0.2522.14 ▼34.62
Posts /wp-admin/edit.php3.09 ▼0.2621.36 ▼29.15
Add New Post /wp-admin/post-new.php3.09 ▼2.7922.26 ▼81.10
Media Library /wp-admin/upload.php3.09 ▼0.1324.07 ▼15.70

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Sell Content with Oronjo
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,913 ▲16714.16 ▼0.2710.26 ▲8.4950.72 ▲6.89
Dashboard /wp-admin2,213 ▲245.90 ▲0.9997.98 ▼25.0439.09 ▼3.93
Posts /wp-admin/edit.php2,093 ▲42.03 ▲0.0542.20 ▲0.0432.12 ▼4.99
Add New Post /wp-admin/post-new.php1,536 ▲2222.97 ▲5.28639.15 ▼34.9452.26 ▲0.77
Media Library /wp-admin/upload.php1,383 ▼84.21 ▼0.0198.90 ▼5.1445.28 ▼2.57
Sell content /wp-admin/sell-content.php260.440.0713.11

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Uninstall procedure validation failed for this plugin
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

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 take a closer look at the following
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/sell-content/sell-content.php

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
    • > GET request to /wp-admin/sell-content.php
    • > Network (severe)
    wp-admin/sell-content.php - Failed to load resource: the server responded with a status of 404 (Not 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
10 plugin tags: ecommerce, oronjo, sell, bitcoins, easy...

sell-content/sell-content.php Passed 13 tests

"Sell Content with Oronjo" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
58 characters long description:
Automatically populate your Oronjo products into Wordpress

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected572 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP18444569
JavaScript1002
CSS1041

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.29
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
Namespaces1
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%
Functions14
▷ Named functions14100.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
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/icon-256x256.png11.94KB4.56KB▼ 61.82%
images/icon-cart-256x256.png14.80KB5.51KB▼ 62.73%