90% wpdevdesign-oxygen-essentials

Code Review | WPDevDesign - Oxygen - Essentials

WordPress plugin WPDevDesign - Oxygen - Essentials scored90%from 54 tests.

About plugin

  • Plugin page: wpdevdesign-oxyge...
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-5.2.4
  • WordPress version: 6.3.1
  • First release: Oct 30, 2019
  • Latest release: Feb 14, 2020
  • Number of updates: 7
  • Update frequency: every 15.3 days
  • Top authors: srikat (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

700+ active /3,396 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.01MB] [CPU: ▼9.61ms] Passed 4 tests

A check of server-side resources used by WPDevDesign - Oxygen - Essentials
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0033.48 ▼4.64
Dashboard /wp-admin3.31 ▼0.0443.73 ▼15.42
Posts /wp-admin/edit.php3.36 ▲0.0043.59 ▲1.38
Add New Post /wp-admin/post-new.php5.89 ▲0.0077.87 ▼18.51
Media Library /wp-admin/upload.php3.23 ▲0.0034.33 ▲0.14

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
db_upgraded
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for WPDevDesign - Oxygen - Essentials
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲314.35 ▼0.221.55 ▼0.3837.62 ▼7.26
Dashboard /wp-admin2,195 ▲205.74 ▲0.0982.48 ▼35.6039.86 ▼3.90
Posts /wp-admin/edit.php2,100 ▼02.00 ▲0.0333.17 ▼3.2031.70 ▼3.85
Add New Post /wp-admin/post-new.php1,526 ▼023.79 ▲0.56662.37 ▼17.0063.84 ▼4.30
Media Library /wp-admin/upload.php1,403 ▲34.17 ▲0.0495.67 ▼4.0940.63 ▼7.40

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded

Smoke tests Passed 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 Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: oxygen builder, essentials, oxygen, basics

wpdevdesign-oxygen-essentials/plugin.php 92% from 13 tests

The main file in "WPDevDesign - Oxygen - Essentials" v. 1.0.1 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: The principal plugin file should be the same as the plugin slug ("wpdevdesign-oxygen-essentials.php" instead of "plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected103 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
CSS1171588
PHP172515

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions1
▷ Named functions1100.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
No PNG images were found in this plugin