100% accept-https-with-jetpack-photon-and-tiled-galleries

Code Review | Accept HTTPS with Jetpack Photon and Tiled Galleries

WordPress plugin Accept HTTPS with Jetpack Photon and Tiled Galleries scored 100% from 54 tests.

About plugin

  • Plugin page: accept-https-with...
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2-4.4.1
  • WordPress version: 5.9.2
  • First release: Nov 12, 2015
  • Latest release: Jan 26, 2016
  • Number of updates: 13
  • Update frequency: every 5.9 days
  • Top authors: trevellyan (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

50+ active / 2,234 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.02MB] [CPU: ▼310.30ms] Passed 4 tests

Server-side resources used by Accept HTTPS with Jetpack Photon and Tiled Galleries
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0155.12 ▼3.72
Dashboard /wp-admin3.41 ▲0.0036.26 ▼10.21
Posts /wp-admin/edit.php3.64 ▲0.0142.12 ▼6.72
Add New Post /wp-admin/post-new.php6.88 ▼0.0996.84 ▼1,215.74
Media Library /wp-admin/upload.php3.30 ▲0.0023.90 ▼8.53

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Accept HTTPS with Jetpack Photon and Tiled Galleries
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,783 ▲2915.63 ▼0.015.68 ▼1.512.17 ▼1.04
Dashboard /wp-admin2,895 ▲426.13 ▲0.00121.21 ▼8.03163.82 ▲2.28
Posts /wp-admin/edit.php2,691 ▼33.25 ▲0.0162.35 ▼2.53154.88 ▲6.42
Add New Post /wp-admin/post-new.php1,661 ▼2915.97 ▼4.62419.35 ▼68.89203.61 ▲47.26
Media Library /wp-admin/upload.php1,698 ▼05.52 ▼0.02151.81 ▲0.71191.23 ▼1.02

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
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: https, photon, tiled galleries, jetpack

accept-https-with-jetpack-photon-and-tiled-galleries/accept-https-jetpack-photon-tiled-galleries.php 92% from 13 tests

"Accept HTTPS with Jetpack Photon and Tiled Galleries" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("accept-https-with-jetpack-photon-and-tiled-galleries.php" instead of "accept-https-jetpack-photon-tiled-galleries.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin3 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1293

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems 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%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There are no PNG files in this plugin