84% unload-by-st-pagede

Code Review | Unload & Remove (Emojis, Embed, Head Details)

WordPress plugin Unload & Remove (Emojis, Embed, Head Details) scored 84% from 54 tests.

About plugin

  • Plugin page: unload-by-st-pagede
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.5
  • WordPress version: 6.3.1
  • First release: Mar 24, 2016
  • Latest release: Mar 25, 2016
  • Number of updates: 8
  • Update frequency: every 1.0 days
  • Top authors: kronekranz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active / 870 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.92ms] Passed 4 tests

Server-side resources used by Unload & Remove (Emojis, Embed, Head Details)
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.32 ▼5.39
Dashboard /wp-admin3.31 ▲0.0050.14 ▼0.57
Posts /wp-admin/edit.php3.36 ▲0.0047.69 ▲2.47
Add New Post /wp-admin/post-new.php5.89 ▼0.0084.42 ▼15.67
Media Library /wp-admin/upload.php3.23 ▲0.0033.96 ▲1.95

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

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

Browser metrics Passed 4 tests

Unload & Remove (Emojis, Embed, Head Details): an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲3213.57 ▼0.811.36 ▼0.8638.94 ▼12.44
Dashboard /wp-admin2,206 ▲155.88 ▲1.0594.95 ▼23.0436.93 ▼10.31
Posts /wp-admin/edit.php2,089 ▼01.99 ▼0.1439.67 ▲2.4237.11 ▲1.78
Add New Post /wp-admin/post-new.php1,537 ▼018.69 ▼4.40619.72 ▼80.0060.88 ▲4.60
Media Library /wp-admin/upload.php1,385 ▼34.21 ▲0.0292.20 ▼4.8841.21 ▼0.24

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
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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 trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unload-by-st-pagede/unload-by-st-pagede.php:26

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === unload-by-st-pagede === )
Please take inspiration from this readme.txt

unload-by-st-pagede/unload-by-st-pagede.php Passed 13 tests

"Unload & Remove (Emojis, Embed, Head Details)" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
80 characters long description:
Unload & Remove Wordpress Functions (Emojis, Emded and Meta Details in Headarea)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin23 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP171723

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions3
▷ Named functions3100.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 files were detected