68% oronjowordpressplugin

Code Review | Oronjo Wordpress Plugin

WordPress plugin Oronjo Wordpress Plugin scored 68% from 54 tests.

About plugin

  • Plugin page: oronjowordpresspl...
  • Plugin version: 3.9.9
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.9
  • WordPress version: 6.3.1
  • First release: May 4, 2008
  • Latest release: Feb 2, 2018
  • Number of updates: 58
  • Update frequency: every 61.4 days
  • Top authors: rluitwieler (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 3,777 total downloads

Benchmarks

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

An overview of server-side resources used by Oronjo Wordpress Plugin
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.18 ▼4.02
Dashboard /wp-admin2.99 ▼0.3122.03 ▼26.61
Posts /wp-admin/edit.php2.99 ▼0.3623.41 ▼23.48
Add New Post /wp-admin/post-new.php2.99 ▼2.8924.71 ▼62.91
Media Library /wp-admin/upload.php2.99 ▼0.2322.40 ▼14.04

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

Oronjo Wordpress Plugin: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,913 ▲16714.22 ▼0.3910.40 ▲8.5452.35 ▲8.56
Dashboard /wp-admin2,210 ▲365.83 ▼0.05119.59 ▲5.6453.60 ▼4.27
Posts /wp-admin/edit.php2,096 ▲71.98 ▼0.0239.79 ▲3.4145.19 ▲8.85
Add New Post /wp-admin/post-new.php1,545 ▲1218.27 ▼4.80614.15 ▼54.3960.45 ▲1.73
Media Library /wp-admin/upload.php1,386 ▼24.15 ▼0.0996.69 ▼12.5443.26 ▼2.63
Oronjo Plugin /wp-admin/oronjowordpressplugin.php260.440.0915.11

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin did not uninstall without warnings or errors
    • > 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 detected upon uninstall: 6 options
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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 fix the following items
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/oronjowordpressplugin/oronjowordpressplugin.php

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
    • > GET request to /wp-admin/oronjowordpressplugin.php
    • > Network (severe)
    wp-admin/oronjowordpressplugin.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

Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: bitcoins, ecommerce, sell content, sell downloads, sell with paypal...

oronjowordpressplugin/oronjowordpressplugin.php Passed 13 tests

"Oronjo Wordpress Plugin" version 3.9.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
59 characters long description:
Automatically populate your Oronjo products into Wordpress.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin572 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP18444569
JavaScript1002
CSS1041

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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%