84% standout-css3-buttons

Code Review | Standout CSS3 Buttons

WordPress plugin Standout CSS3 Buttons scored84%from 54 tests.

About plugin

  • Plugin page: standout-css3-but...
  • Plugin version: 0.3.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.1
  • WordPress version: 6.3.1
  • First release: Feb 6, 2013
  • Latest release: Jan 20, 2015
  • Number of updates: 36
  • Update frequency: every 19.8 days
  • Top authors: jp2112 (100%)

Code review

54 tests

User reviews

11 reviews

Install metrics

1,000+ active /37,650 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
Installer ran successfully

Server metrics [RAM: ▲0.14MB] [CPU: ▼11.11ms] Passed 4 tests

Server-side resources used by Standout CSS3 Buttons
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.61 ▲0.1543.04 ▲0.64
Dashboard /wp-admin3.45 ▲0.1049.84 ▼19.45
Posts /wp-admin/edit.php3.56 ▲0.2149.71 ▼4.04
Add New Post /wp-admin/post-new.php6.03 ▲0.1488.24 ▼21.59
Media Library /wp-admin/upload.php3.37 ▲0.1438.63 ▲3.15
Standout CSS3 Buttons /wp-admin/options-general.php?page=standout-css3-buttons3.3435.84

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options
scss3b
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Standout CSS3 Buttons
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.25 ▼0.352.13 ▲0.2041.79 ▼1.74
Dashboard /wp-admin2,202 ▲285.62 ▼0.0190.98 ▼8.1139.69 ▼7.13
Posts /wp-admin/edit.php2,104 ▲12.02 ▲0.0442.78 ▲5.8734.51 ▼1.51
Add New Post /wp-admin/post-new.php1,533 ▼422.95 ▲4.85633.61 ▼5.0954.32 ▼8.83
Media Library /wp-admin/upload.php1,407 ▲74.18 ▼0.0199.34 ▼0.2347.04 ▲5.39
Standout CSS3 Buttons /wp-admin/options-general.php?page=standout-css3-buttons1,0972.3025.5738.85

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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 take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/standout-css3-buttons/standout-css3-buttons.php:20

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: link, css button, css3, button, rounded...

standout-css3-buttons/standout-css3-buttons.php Passed 13 tests

The entry point to "Standout CSS3 Buttons" version 0.3.0 is a PHP file that has certain tags in its header comment area
104 characters long description:
Display CSS3 style buttons with gradient color styles on your website using popular social media colors.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin607 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP33065533
CSS228571
JavaScript1003

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.20
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%
Functions37
▷ Named functions37100.00%
▷ Anonymous functions00.00%
Constants25
▷ Global constants25100.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
5 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/colors.png1.50KB1.83KB0.00%
images/examples.png3.78KB2.24KB▼ 40.82%
images/support.png5.03KB2.79KB▼ 44.54%
images/settings.png2.11KB2.31KB0.00%
images/parameters.png3.48KB2.94KB▼ 15.45%