79% eight-degree-easy-tags

Code Review | Eight Degree Easy Tags

WordPress plugin Eight Degree Easy Tags scored 79% from 54 tests.

About plugin

  • Plugin page: eight-degree-easy...
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.7.3
  • WordPress version: 6.3.1
  • First release: Apr 24, 2017
  • Latest release: Aug 10, 2018
  • Number of updates: 20
  • Update frequency: every 23.7 days
  • Top authors: 8degreethemes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,733 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.13MB] [CPU: ▲2.65ms] Passed 4 tests

This is a short check of server-side resources used by Eight Degree Easy Tags
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.1244.01 ▼1.07
Dashboard /wp-admin3.43 ▲0.1269.16 ▲13.95
Posts /wp-admin/edit.php3.55 ▲0.1852.68 ▲0.47
Add New Post /wp-admin/post-new.php6.04 ▲0.14102.02 ▲5.68
Media Library /wp-admin/upload.php3.35 ▲0.1244.33 ▲5.51
About /wp-admin/edit.php?post_type=edet_post_prop&page=edet_about3.3236.85
Add New /wp-admin/post-new.php?post_type=edet_post_prop3.5155.75
How to use /wp-admin/edit.php?post_type=edet_post_prop&page=edet_help3.3242.61
Eight Degree Easy Tags /wp-admin/edit.php?post_type=edet_post_prop3.4040.87

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 8 new options
New WordPress options
widget_recent-comments
edet_load_default
widget_edet_widget_class
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Eight Degree Easy Tags
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,969 ▲15813.89 ▲0.695.49 ▲3.5739.11 ▼6.67
Dashboard /wp-admin2,261 ▲555.07 ▲0.21107.23 ▼3.3436.56 ▼6.15
Posts /wp-admin/edit.php2,128 ▲392.32 ▲0.2837.20 ▼2.4833.35 ▼2.24
Add New Post /wp-admin/post-new.php1,565 ▲5117.87 ▲0.33743.14 ▲64.6942.33 ▼11.83
Media Library /wp-admin/upload.php1,450 ▲684.30 ▲0.08108.81 ▼7.9551.90 ▼3.46
About /wp-admin/edit.php?post_type=edet_post_prop&page=edet_about8881.9731.7335.63
Add New /wp-admin/post-new.php?post_type=edet_post_prop2,2622.8354.8954.88
How to use /wp-admin/edit.php?post_type=edet_post_prop&page=edet_help9351.9829.1446.93
Eight Degree Easy Tags /wp-admin/edit.php?post_type=edet_post_prop1,1172.2638.2333.04

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin did not uninstall successfully, leaving 8 options in the database
    • theysaidso_admin_options
    • edet_load_default
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_edet_widget_class

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/post-new.php?post_type=edet_post_prop
    • > Notice in wp-content/plugins/eight-degree-easy-tags/inc/backend/edet_form_elments.php+141
    Undefined index: tag_number

SRP 50% from 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
Almost there! Just fix the following items
  • 8× PHP files output text when accessed directly:
    • > /wp-content/plugins/eight-degree-easy-tags/inc/backend/edet_shortcode_options.php
    • > /wp-content/plugins/eight-degree-easy-tags/inc/backend/edet_register_post.php
    • > /wp-content/plugins/eight-degree-easy-tags/inc/backend/edet_widgets.php
    • > /wp-content/plugins/eight-degree-easy-tags/inc/backend/edet_save_settings.php
    • > /wp-content/plugins/eight-degree-easy-tags/inc/backend/edet_about.php
    • > /wp-content/plugins/eight-degree-easy-tags/eight-degree-easy-tags.php
    • > /wp-content/plugins/eight-degree-easy-tags/inc/backend/edet_help.php
    • > /wp-content/plugins/eight-degree-easy-tags/inc/backend/edet_form_elments.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: free wp tag cloud plugin, tag cloud, wp tag cloud, wordpress tag cloud plugin, easy tag cloud plugin...

eight-degree-easy-tags/eight-degree-easy-tags.php Passed 13 tests

The primary PHP file in "Eight Degree Easy Tags" version 1.0.2 is used by WordPress to initiate all plugin functionality
56 characters long description:
A plugin to diplay your tags with multiple style options

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
No dangerous file extensions were detected7,562 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
CSS4421373,697
SVG1002,671
PHP923161924
PO File1101101226
JavaScript231144

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity16.50
▷ Minimum class complexity10.00
▷ Maximum class complexity23.00
Average method complexity1.94
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods34
▷ Static methods00.00%
▷ Public methods34100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
images/form-dropdown-arrow.png1.01KB0.24KB▼ 76.40%