89% ipp-simple-loading

Code Review | Ipp Simple Loading

WordPress plugin Ipp Simple Loading scored89%from 54 tests.

About plugin

  • Plugin page: ipp-simple-loading
  • Plugin version: 2.1.0
  • PHP compatiblity: 7.4.33+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.1.1-6.4
  • WordPress version: 6.3.1
  • First release: Apr 22, 2023
  • Latest release: Nov 25, 2023
  • Number of updates: 15
  • Update frequency: every 14.5 days
  • Top authors: johnguaz (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

10+ active /297 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
The plugin installed gracefully, with no errors

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

This is a short check of server-side resources used by Ipp Simple Loading
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.52 ▼4.02
Dashboard /wp-admin3.31 ▼0.0452.72 ▼5.18
Posts /wp-admin/edit.php3.36 ▲0.0045.93 ▼1.79
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.94 ▼5.24
Media Library /wp-admin/upload.php3.23 ▲0.0031.73 ▼0.53

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Ipp Simple Loading
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,790 ▲314.25 ▼0.091.75 ▼0.4740.26 ▼2.62
Dashboard /wp-admin2,195 ▲185.59 ▼0.0792.54 ▲4.5240.80 ▼4.89
Posts /wp-admin/edit.php2,100 ▼01.94 ▼0.0136.89 ▼2.8331.74 ▼0.17
Add New Post /wp-admin/post-new.php1,526 ▼023.52 ▲0.36696.46 ▲85.2150.83 ▼12.58
Media Library /wp-admin/upload.php1,394 ▼64.19 ▲0.0195.37 ▲0.4041.87 ▲1.83

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed: The official readme.txt might help

ipp-simple-loading/ipp-simple-loading.php 92% from 13 tests

This is the main PHP file of "Ipp Simple Loading" version 2.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
  • Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected20,196 lines of code in 21 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript44,2356,73819,747
PHP787135429
JSON10012
CSS9908

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.51
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%
Functions24
▷ Named functions1666.67%
▷ Anonymous functions833.33%
Constants2
▷ Global constants2100.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
No PNG files were detected