78% deviantart-muro

Code Review | deviantART muro

WordPress plugin deviantART muro scored78%from 54 tests.

About plugin

  • Plugin page: deviantart-muro
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.0-3.5
  • WordPress version: 6.3.1
  • First release: Feb 12, 2013
  • Latest release: Feb 12, 2013
  • Number of updates: 2
  • Update frequency: every 1.0 days
  • Top authors: illusori (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /2,310 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 gracefully, with no errors

Server metrics [RAM: ▲0.10MB] [CPU: ▼3.57ms] Passed 4 tests

This is a short check of server-side resources used by deviantART muro
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1047.48 ▲1.39
Dashboard /wp-admin3.40 ▲0.1048.73 ▼5.17
Posts /wp-admin/edit.php3.52 ▲0.1647.29 ▼2.03
Add New Post /wp-admin/post-new.php5.98 ▲0.0998.27 ▼7.43
Media Library /wp-admin/upload.php3.32 ▲0.1041.16 ▲0.37
deviantART muro /wp-admin/options-general.php?page=deviantart-muro-settings3.2732.92

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

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

Browser metrics Passed 4 tests

Checking browser requirements for deviantART muro
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.17 ▼1.381.69 ▼0.4943.01 ▼9.94
Dashboard /wp-admin2,213 ▲256.07 ▲1.18108.04 ▼16.0642.88 ▼6.56
Posts /wp-admin/edit.php2,096 ▲72.03 ▲0.0642.04 ▲0.8937.23 ▼8.50
Add New Post /wp-admin/post-new.php1,533 ▲520.94 ▼2.44715.81 ▲1.9950.06 ▼12.12
Media Library /wp-admin/upload.php1,394 ▲64.25 ▲0.02113.79 ▼10.8252.22 ▲0.07
deviantART muro /wp-admin/options-general.php?page=deviantart-muro-settings9662.0527.5335.25

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=deviantart-muro-settings
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=deviantart-muro-settings
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

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 have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/deviantart-muro/deviantart-muro.php:29

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: images, comments, media

deviantart-muro/deviantart-muro.php 92% from 13 tests

This is the main PHP file of "deviantART muro" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 161 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected875 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP19848510
JavaScript44240322
HTML110043

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity77.00
▷ Minimum class complexity77.00
▷ Maximum class complexity77.00
Average method complexity3.81
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods27
▷ Static methods27100.00%
▷ Public methods2696.30%
▷ Protected methods00.00%
▷ Private methods13.70%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin