84% aio-shortcodes

Code Review | AIO Shortcodes - All in One SEO With WP Shortcodes

WordPress plugin AIO Shortcodes - All in One SEO With WP Shortcodes scored84%from 54 tests.

About plugin

  • Plugin page: aio-shortcodes
  • Plugin version: 1.0.4
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Oct 26, 2023
  • Latest release: Nov 22, 2023
  • Number of updates: 21
  • Update frequency: every 1.3 days
  • Top authors: hkharpreetkumar1 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /184 total downloads

Benchmarks

Plugin footprint 83% from 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.06MB] [CPU: ▼0.07ms] Passed 4 tests

Analyzing server-side resources used by AIO Shortcodes - All in One SEO With WP Shortcodes
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0638.41 ▼0.64
Dashboard /wp-admin3.37 ▲0.0644.73 ▼3.19
Posts /wp-admin/edit.php3.48 ▲0.1248.86 ▲0.92
Add New Post /wp-admin/post-new.php5.95 ▲0.0693.29 ▲2.63
Media Library /wp-admin/upload.php3.29 ▲0.0638.35 ▲7.16

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for AIO Shortcodes - All in One SEO With WP Shortcodes
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,790 ▲314.04 ▼0.301.51 ▼0.3036.88 ▼1.16
Dashboard /wp-admin2,198 ▲215.69 ▲0.0492.15 ▼5.4538.95 ▼5.91
Posts /wp-admin/edit.php2,100 ▼01.95 ▲0.0138.57 ▼1.7937.06 ▲2.06
Add New Post /wp-admin/post-new.php1,526 ▼023.24 ▲0.11680.01 ▲27.4152.50 ▼4.22
Media Library /wp-admin/upload.php1,400 ▼04.22 ▼0.00110.35 ▲9.3345.42 ▲4.76

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 8× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/aio-shortcodes/shortcodes/year.php:40
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/aio-shortcodes/shortcodes/month.php:43
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/aio-shortcodes/shortcodes/date.php:58
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/aio-shortcodes/shortcodes/other.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/aio-shortcodes/shortcodes/event.php:50
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/aio-shortcodes/shortcodes/symbols.php:12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/aio-shortcodes/shortcodes/social.php:22
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/aio-shortcodes/shortcodes/today.php:38

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 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
8 plugin tags: wordpress shortcodes list, shortcodes ultimate, current month shortcode, all in one seo, current year shortcode...

aio-shortcodes/aio-shortcodes.php 85% from 13 tests

This is the main PHP file of "AIO Shortcodes - All in One SEO With WP Shortcodes" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Description: Keep the plugin description shorter than 140 characters (currently 158 characters long)
  • Domain Path: The domain path folder was not found ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin379 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP12132216379

PHP code Passed 2 tests

Analyzing 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.18
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%
Functions26
▷ Named functions26100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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 files were detected