Changes for version 0.001 - 2026-11-24

  • Infer parameters, return values and terminations of subs from their compiled op trees, on perl 5.36 and later
  • License the distribution under MIT instead of the terms of Perl 5
  • Read the keys of named arguments from exists and delete when perl compiles them without the multideref op
  • Count POSIX::_exit as a termination, and Carp::cluck, which only warns, as none
  • Report the implicit $self of core class methods as parameter 0 on every perl, and mark subs that another file installed as generated
  • Report inferred types as Type::Tiny constraints: the constraint of each returned value, and of each parameter from its uses
  • Read declared parameter and return types from Moose, Moo, Mouse, Class::Tiny, Object::Pad, Function::Parameters, Kavorka and Type::Params, and analyze the code that their wrappers call
  • Read declared types from Type::Tiny guards, Type::Params checkers and Method::Signatures, and read $_[N] with a default as an optional parameter
  • Check documented return types, terminations and examples against the code, and compare argument types as Type::Tiny constraints
  • Read POD with Pod::Simple, including the =method, =func and =attr commands of Pod::Weaver
  • Add Test::Pod::Coverage::More, which runs the checks of Pod::Coverage::More as tests
  • Read constants that hold objects, such as the literals of use bigint, and the scopes of the bignum pragmas, and fail a documented return type against an operator result only when they are of different kinds
  • Count subs that a parent class documents as documented, and take the POD of stubs and XS subs on the author's word in the argument checks
  • Compare literal return values by value, argument lists with sigils in any case, and no longer read object fields as named arguments
  • Generate the POD of a sub from the blurb above it, a description and @param, @returns, @throws and @example tags, filled in from what its code declares
  • Add Pod::Weaver::Section::Blurbs, which weaves the generated POD of each sub with a blurb into the built module
  • Load the package before reading its POD, so that a module the caller did not load is rated
  • Write no section for an override of a sub that a parent class has a blurb for
  • Document the arguments, types, return values and examples of every sub, so that the POD of the dist passes its own checks
  • An object blessed into the invocant, as by bless {}, $class, is an instance of the package

Modules

Make sure your POD covers more ground than just subroutines
Infer arguments, return values and termination of subs from their compiled op trees
Op tree analysis for perl 5.36
Op tree analysis for perl 5.38 to 5.42
Op tree analysis for perl 5.44 and later
Read the comment above each sub, which says what POD cannot be inferred from its code
What class builders and signature modules declare about the subs of a package
Declarations of the attributes of Class::Tiny classes
Declarations of the signatures of Function::Parameters
Declarations of the signatures of Kavorka
Declarations of the attributes of Moose, Mouse and Moo classes
Declarations of the classes of Object::Pad
Declarations of the signatures of Type::Params
What the POD of a module says about each of its subs
Write the POD of each sub from its blurb and the analysis of its code
The Type::Tiny constraints that the evidence of an analysis amounts to
Weave the POD of each sub that has a blurb, from its blurb and its code
Test that the POD of a module says what each sub takes, returns, and how it fails