73% list-articles

Code Review | Wordpress List Articles

WordPress plugin Wordpress List Articles scored73%from 54 tests.

About plugin

  • Plugin page: list-articles
  • Plugin version: 2.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.0-4.6.1
  • WordPress version: 6.3.1
  • First release: Apr 10, 2013
  • Latest release: Nov 28, 2016
  • Number of updates: 14
  • Update frequency: every 94.9 days
  • Top authors: abhi-ime (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /5,464 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
Installer ran successfully

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

An overview of server-side resources used by Wordpress List Articles
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0240.72 ▼5.32
Dashboard /wp-admin3.33 ▲0.0249.94 ▼8.52
Posts /wp-admin/edit.php3.38 ▲0.0251.34 ▲5.26
Add New Post /wp-admin/post-new.php5.91 ▲0.0291.59 ▲0.62
Media Library /wp-admin/upload.php3.25 ▲0.0232.79 ▼5.51
wp-articles /wp-admin/options-general.php?page=wp-articles-list3.2132.76

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Wordpress List Articles
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,810 ▲6413.32 ▼1.321.81 ▼0.0845.00 ▲0.08
Dashboard /wp-admin2,212 ▲244.85 ▼1.11117.01 ▼0.6647.77 ▲3.85
Posts /wp-admin/edit.php2,095 ▲62.02 ▲0.0139.34 ▲2.8235.18 ▲2.07
Add New Post /wp-admin/post-new.php1,542 ▲718.21 ▼4.82605.53 ▼86.1852.86 ▼14.01
Media Library /wp-admin/upload.php1,397 ▲94.21 ▲0.02103.02 ▼9.8147.41 ▼1.08
wp-articles /wp-admin/options-general.php?page=wp-articles-list7812.0326.4328.08

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
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 25% from 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 0% from 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
Please take a closer look at the following
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/list-articles/include/info.php
  • 5× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/list-articles/include/pages.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/list-articles/include/sitelist.php:9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/list-articles/include/cats.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/list-articles/list-articles.php:23
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/list-articles/include/posts.php:8

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
    • > GET request to /wp-admin/options-general.php?page=wp-articles-list
    • > Network (severe)
    wp-content/plugins/wordpress-list-articles/css/admin.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not 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
9 plugin tags: sitemap generator, wordpress articles, posts list, articles, list articles...

list-articles/list-articles.php Passed 13 tests

The main file in "Wordpress List Articles" v. 2.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
107 characters long description:
This plugin is the most effective plugin which easily display your posts, pages, category and also sitemap.

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 detected163 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP63659162
CSS1001

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.19
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%
Functions7
▷ Named functions7100.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
There are no PNG files in this plugin