90% apml

Code Review | APML

WordPress plugin APML scored90%from 54 tests.

About plugin

  • Plugin page: apml
  • Plugin version: 3.1.5
  • PHP version: 7.4.16
  • WordPress compatibility: 2.5-4.9.9
  • WordPress version: 6.3.1
  • First release: Nov 28, 2007
  • Latest release: Dec 3, 2018
  • Number of updates: 62
  • Update frequency: every 64.9 days
  • Top authors: pfefferle (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /4,014 total downloads


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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.23MB] [CPU: ▼15.12ms] Passed 4 tests

This is a short check of server-side resources used by APML
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.78 ▼0.6815.57 ▼23.46
Dashboard /wp-admin3.32 ▲0.0149.34 ▼0.71
Posts /wp-admin/edit.php3.08 ▼0.2829.14 ▼24.90
Add New Post /wp-admin/post-new.php5.90 ▲0.0183.75 ▼11.42
Media Library /wp-admin/upload.php3.24 ▲0.0131.39 ▲0.32

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for APML
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,791 ▲3014.24 ▼0.121.62 ▼0.5939.94 ▼3.68
Dashboard /wp-admin2,195 ▲155.56 ▼0.0189.86 ▼0.3440.11 ▼3.45
Posts /wp-admin/edit.php2,100 ▼02.01 ▲0.0036.08 ▼6.7535.77 ▼4.61
Add New Post /wp-admin/post-new.php1,526 ▼223.31 ▲2.29615.71 ▼90.3647.52 ▼7.92
Media Library /wp-admin/upload.php1,403 ▲34.19 ▼0.0094.80 ▼10.3644.11 ▼1.53

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: feed, taxonomy, category, dataportability, tag...

apml/apml.php Passed 13 tests

"APML" version 3.1.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
87 characters long description:
This plugin creates an APML Feed using the WordPress tags, categories, links and feeds.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected212 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity25.00
▷ Minimum class complexity25.00
▷ Maximum class complexity25.00
Average method complexity2.60
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods15100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin