84% full-page-load

Code Review | Full Page Load

WordPress plugin Full Page Load scored 84% from 54 tests.

About plugin

  • Plugin page: full-page-load
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-3.5.1
  • WordPress version: 6.3.1
  • First release: Apr 7, 2013
  • Latest release: Apr 8, 2013
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: JohnnyPea (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active / 4,504 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

A check of server-side resources used by Full Page Load
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.39 ▼0.0723.48 ▼17.93
Dashboard /wp-admin3.31 ▲0.0145.48 ▼4.53
Posts /wp-admin/edit.php3.36 ▲0.0047.56 ▼3.07
Add New Post /wp-admin/post-new.php5.89 ▲0.0082.64 ▼11.86
Media Library /wp-admin/upload.php3.23 ▲0.0034.30 ▼5.21

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Full Page Load
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,914 ▲17913.68 ▼0.618.01 ▲6.0039.65 ▼9.12
Dashboard /wp-admin2,209 ▲215.88 ▼0.0298.12 ▼8.1438.38 ▼4.65
Posts /wp-admin/edit.php2,089 ▼02.04 ▲0.0338.48 ▲2.0634.85 ▲5.47
Add New Post /wp-admin/post-new.php1,534 ▲123.18 ▲0.01593.21 ▼44.2949.33 ▲2.12
Media Library /wp-admin/upload.php1,388 ▲34.36 ▲0.1796.65 ▼3.7341.95 ▼3.32

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded

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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/full-page-load/full-page-load.php:26

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 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
5 plugin tags: spin, lazy load, spinner, loading, load

full-page-load/full-page-load.php Passed 13 tests

Analyzing the main PHP file in "Full Page Load" version 1.0
73 characters long description:
Hide website content while loading and show it again after complete load.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected36 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript23321
PHP12915

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions1
▷ Named functions1100.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
No PNG files were detected