WordPress plugin Capturly scored 89% from 54 tests.

About plugin

  • Plugin page: capturly-optimize...
  • Plugin version: 1.2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7-6.3
  • WordPress version: 6.3.1
  • First release: Mar 17, 2016
  • Latest release: Jul 31, 2023
  • Number of updates: 10
  • Update frequency: every 269.2 days
  • Top authors: Capturly (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 2,598 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
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by Capturly
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0241.59 ▼7.62
Dashboard /wp-admin3.33 ▲0.0259.81 ▲3.09
Posts /wp-admin/edit.php3.38 ▲0.0251.57 ▼2.24
Add New Post /wp-admin/post-new.php5.91 ▲0.0292.60 ▼5.41
Media Library /wp-admin/upload.php3.25 ▲0.0239.83 ▼0.60
Capturly /wp-admin/options-general.php?page=capturly_settings3.2241.58

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Capturly
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▼2114.79 ▲1.091.74 ▼0.4240.39 ▼10.49
Dashboard /wp-admin2,207 ▲15.82 ▲0.99125.91 ▲17.9748.66 ▲9.57
Posts /wp-admin/edit.php2,093 ▲12.01 ▲0.0241.01 ▲0.3835.67 ▲3.73
Add New Post /wp-admin/post-new.php1,542 ▲923.24 ▼0.06731.12 ▲7.6457.55 ▼19.02
Media Library /wp-admin/upload.php1,395 ▲44.40 ▲0.2997.77 ▼14.3542.43 ▼6.42
Capturly /wp-admin/options-general.php?page=capturly_settings8031.9829.3129.73

Uninstaller [IO: ✅] [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
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 90% 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
Attributes that need to be fixed:
  • Tags: Please delete some tags, you are using 23 tag instead of maximum 10
Please take inspiration from this readme.txt

capturly-optimize-your-website/capturly.php 85% from 13 tests

The main PHP file in "Capturly" ver. 1.2.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Main file name: Name the main plugin file the same as the plugin slug ("capturly-optimize-your-website.php" instead of "capturly.php")
  • Description: Please don't use more than 140 characters for the plugin description (currently 406 characters long)

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
Success! There were no dangerous files found in this plugin120 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12318120

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.29
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%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
logo.png3.09KB0.65KB▼ 78.85%