84% pushatomic

Code Review | Pushatomic

WordPress plugin Pushatomic scored84%from 54 tests.

About plugin

  • Plugin page: pushatomic
  • Plugin version: 1.0.15
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3.1-6.4
  • WordPress version: 6.3.1
  • First release: Apr 26, 2021
  • Latest release: Nov 24, 2023
  • Number of updates: 37
  • Update frequency: every 25.5 days
  • Top authors: hullcode (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

20+ active /1,274 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▼8.63ms] Passed 4 tests

Server-side resources used by Pushatomic
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0538.95 ▲0.51
Dashboard /wp-admin3.36 ▲0.0244.12 ▼17.80
Posts /wp-admin/edit.php3.42 ▲0.0645.90 ▼2.97
Add New Post /wp-admin/post-new.php5.95 ▲0.0688.13 ▼14.26
Media Library /wp-admin/upload.php3.29 ▲0.0634.98 ▲2.13

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 50 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
db_upgraded
can_compress_scripts
pushatomic

Browser metrics Passed 4 tests

Pushatomic: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,845 ▲9814.19 ▼0.161.75 ▼0.0241.66 ▼2.79
Dashboard /wp-admin2,253 ▲735.66 ▲0.0898.02 ▲5.5942.03 ▲0.36
Posts /wp-admin/edit.php2,155 ▲552.04 ▲0.0841.51 ▲2.0934.79 ▼1.49
Add New Post /wp-admin/post-new.php1,539 ▲123.95 ▼1.37649.35 ▲37.2455.62 ▼2.46
Media Library /wp-admin/upload.php1,459 ▲624.18 ▲0.0195.58 ▼4.9740.21 ▼2.58

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
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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
Please fix the following items
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/pushatomic/pushatomic.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Contributors: The plugin contributors field is not present
You can take inspiration from this readme.txt

pushatomic/pushatomic.php Passed 13 tests

Analyzing the main PHP file in "Pushatomic" version 1.0.15
50 characters long description:
Add Pushatomic to your web easily with this plugin

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
Good job! No executable or dangerous file extensions detected1,886 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript514628800
PHP314711459
CSS2964443
PO File16066140
SVG20143
JSON1001

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.17
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%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin