84% deel-op-leesmee

Code Review | Deel Op Leesmee

WordPress plugin Deel Op Leesmee scored 84% from 54 tests.

About plugin

  • Plugin page: deel-op-leesmee
  • Plugin version: 1.1
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.9
  • WordPress version: 6.3.1
  • First release: Aug 7, 2018
  • Latest release: Sep 6, 2018
  • Number of updates: 9
  • Update frequency: every 3.4 days
  • Top authors: kylescousin (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 526 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.00MB] [CPU: ▼8.03ms] Passed 4 tests

Analyzing server-side resources used by Deel Op Leesmee
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.25 ▼8.21
Dashboard /wp-admin3.31 ▲0.0044.92 ▼5.50
Posts /wp-admin/edit.php3.36 ▲0.0046.42 ▼2.39
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.92 ▼16.02
Media Library /wp-admin/upload.php3.23 ▲0.0038.60 ▲4.64

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Deel Op Leesmee
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.27 ▼0.881.70 ▼0.1043.36 ▼2.13
Dashboard /wp-admin2,209 ▲185.85 ▲0.9994.32 ▼13.2339.95 ▼5.60
Posts /wp-admin/edit.php2,089 ▼02.03 ▼0.0233.33 ▼2.6833.92 ▲2.53
Add New Post /wp-admin/post-new.php1,542 ▲918.07 ▼5.15630.87 ▼94.7150.80 ▼8.74
Media Library /wp-admin/upload.php1,391 ▼04.15 ▼0.0395.02 ▼3.7942.16 ▼3.38

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/deel-op-leesmee/deel-op-leesmee.php:13

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
  • Screenshots: Please add an image for screenshot #1 (/assets/owly-share.png)
Please take inspiration from this readme.txt

deel-op-leesmee/deel-op-leesmee.php Passed 13 tests

"Deel Op Leesmee" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
60 characters long description:
Adds a Leesmee.com share button to the bottom of your posts.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin15 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP14715

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.00
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods1
▷ Static methods00.00%
▷ Public methods1100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and 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
images/owly-share.png3.93KB2.11KB▼ 46.26%