100% wpac-sticky-admin-widgets

Code Review | WPAC Sticky Admin Widgets

WordPress plugin WPAC Sticky Admin Widgets scored 100% from 54 tests.

About plugin

  • Plugin page: wpac-sticky-admin...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.7
  • WordPress version: 5.8.1
  • First release: Nov 15, 2018
  • Latest release: Nov 15, 2018
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: mianshahzadraza (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 437 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

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

This is a short check of server-side resources used by WPAC Sticky Admin Widgets
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0034.06 ▼0.65
Dashboard /wp-admin3.06 ▲0.0145.20 ▼4.09
Posts /wp-admin/edit.php3.11 ▲0.0146.16 ▼12.31
Add New Post /wp-admin/post-new.php5.42 ▼0.0188.99 ▼581.22
Media Library /wp-admin/upload.php3.00 ▲0.0034.17 ▲3.01

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for WPAC Sticky Admin Widgets
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲8315.98 ▲0.448.99 ▼2.5049.85 ▼1.03
Dashboard /wp-admin2,970 ▲365.88 ▼0.18146.69 ▼15.91129.89 ▲20.77
Posts /wp-admin/edit.php2,739 ▼02.70 ▼0.0162.98 ▼15.1281.76 ▼18.55
Add New Post /wp-admin/post-new.php1,500 ▼8118.51 ▼1.88371.69 ▼38.99109.53 ▲2.31
Media Library /wp-admin/upload.php1,810 ▼35.02 ▲0.01147.91 ▼0.64111.84 ▼5.18

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully

Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 96% from 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
3 plugin tags: admin, sticky widgets, widgets

wpac-sticky-admin-widgets/wpac-sticky-admin-widgets.php 92% from 13 tests

The principal PHP file in "WPAC Sticky Admin Widgets" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected248 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript25744235
PHP2111713

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.50
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