78% slideonline

Code Review | SlideOnline

WordPress plugin SlideOnline scored78%from 54 tests.

About plugin

  • Plugin page: slideonline
  • Plugin version: 1.2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-3.6
  • WordPress version: 6.3.1
  • First release: Feb 1, 2013
  • Latest release: Aug 10, 2013
  • Number of updates: 17
  • Update frequency: every 11.2 days
  • Top authors: jmagnone (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

400+ active /12,069 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
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼3.83ms] Passed 4 tests

An overview of server-side resources used by SlideOnline
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.99 ▲1.94
Dashboard /wp-admin3.32 ▲0.0151.81 ▲2.33
Posts /wp-admin/edit.php3.37 ▲0.0141.95 ▼12.84
Add New Post /wp-admin/post-new.php5.90 ▲0.0198.60 ▲3.44
Media Library /wp-admin/upload.php3.24 ▲0.0131.56 ▼6.75
SlideOnline /wp-admin/options-general.php?page=slideonline-settings3.1830.67

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 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

Checking browser requirements for SlideOnline
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.34 ▼0.011.66 ▲0.1140.09 ▼2.68
Dashboard /wp-admin2,202 ▲255.58 ▼0.0182.20 ▼10.0934.98 ▼6.66
Posts /wp-admin/edit.php2,101 ▼62.14 ▲0.1538.40 ▼8.2934.56 ▼3.30
Add New Post /wp-admin/post-new.php1,538 ▲1018.05 ▼4.90601.49 ▼84.7468.85 ▲11.02
Media Library /wp-admin/upload.php1,404 ▲74.24 ▼0.05102.63 ▼1.7441.17 ▼2.35
SlideOnline /wp-admin/options-general.php?page=slideonline-settings9911.9927.9632.00

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
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=slideonline-settings
    • > Notice in wp-content/plugins/slideonline/slideonline-ui.php+13
    Undefined index: updated

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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 get_bloginfo() in wp-content/plugins/slideonline/slideonline.php:20

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

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:
  • Tags: Please delete some tags, you are using 13 tag instead of maximum 10
The official readme.txt might help

slideonline/slideonline.php Passed 13 tests

The principal PHP file in "SlideOnline" v. 1.2.1 is loaded by WordPress automatically on each request
128 characters long description:
Easily embed your presentations in a WordPress blog. SlideOnline.com is a free service to share PowerPoint presentations online.

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
Everything looks great! No dangerous files found in this plugin198 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP26226198

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.26
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%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin