84% include-abuledu-raconte-moi

Code Review | AbulEdu Raconte-Moi External Stream Include

WordPress plugin AbulEdu Raconte-Moi External Stream Include scored84%from 54 tests.

About plugin

  • Plugin page: include-abuledu-r...
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.0.1
  • WordPress version: 6.3.1
  • First release: Dec 19, 2014
  • Latest release: Dec 19, 2014
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: ryxeo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /690 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▲0.29ms] Passed 4 tests

Server-side resources used by AbulEdu Raconte-Moi External Stream Include
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0040.19 ▲4.32
Dashboard /wp-admin3.31 ▲0.0044.44 ▲0.67
Posts /wp-admin/edit.php3.36 ▲0.0050.92 ▲3.67
Add New Post /wp-admin/post-new.php5.89 ▲0.0092.25 ▼2.11
Media Library /wp-admin/upload.php3.23 ▲0.0034.34 ▼1.06

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 2 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

An overview of browser requirements for AbulEdu Raconte-Moi External Stream Include
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.60 ▼0.801.86 ▼0.3543.45 ▼2.84
Dashboard /wp-admin2,203 ▲154.85 ▼0.01108.26 ▼1.3143.56 ▲0.95
Posts /wp-admin/edit.php2,092 ▲32.01 ▼0.0439.90 ▲3.8835.03 ▲2.96
Add New Post /wp-admin/post-new.php1,538 ▲1023.06 ▼0.13667.29 ▲17.0464.62 ▲7.27
Media Library /wp-admin/upload.php1,382 ▼94.20 ▼0.0197.42 ▼6.8041.24 ▼4.28

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means 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× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_embed_register_handler() in wp-content/plugins/include-abuledu-raconte-moi/abuledu-raconte-moi.php:12

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

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: audio, external stories, oembed, html5

include-abuledu-raconte-moi/abuledu-raconte-moi.php 92% from 13 tests

The main file in "AbulEdu Raconte-Moi External Stream Include" v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("include-abuledu-raconte-moi.php" instead of "abuledu-raconte-moi.php")

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

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
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

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin